@Immutable @ThreadSafe public class NodeID extends Object
NodeID objects are immutable once created.
Modifier and Type | Field and Description |
---|---|
(package private) static int |
BYTECOUNT |
(package private) byte[] |
contents |
Constructor and Description |
---|
NodeID() |
NodeID(byte[] contents) |
NodeID(NodeID node) |
NodeID(String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte[] |
getContents() |
int |
hashCode() |
long |
toLong() |
String |
toString() |
static final int BYTECOUNT
byte[] contents
@CheckReturnValue public NodeID(@NonNull NodeID node)
@CheckReturnValue public NodeID()
@CheckReturnValue public NodeID(@NonNull byte[] contents)
@CheckReturnValue public NodeID(@NonNull String value)
Copyright © 2018 The OpenLCB Group. All rights reserved.