public final class ChassisId extends Identifier<Long>
identifier| Constructor and Description |
|---|
ChassisId()
Default constructor.
|
ChassisId(long value)
Constructor from a long value.
|
ChassisId(String value)
Constructor from a string.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that)
Compares two device key identifiers for equality.
|
int |
hashCode()
Returns the hashcode of the identifier.
|
String |
toString()
Convert the Chassis Id value to a ':' separated hexadecimal string.
|
long |
value()
Get the value of the chassis id.
|
idpublic ChassisId()
public ChassisId(long value)
value - the value to use.public ChassisId(String value)
value - the value to use.public long value()
public String toString()
toString in class Identifier<Long>public int hashCode()
IdentifierhashCode in class Identifier<Long>public boolean equals(Object that)
Identifierequals in class Identifier<Long>that - to compare against