public class Identifier<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected T |
identifier |
| Modifier | Constructor and Description |
|---|---|
protected |
Identifier()
Constructor for serialization.
|
protected |
Identifier(T value)
Constructs an identifier backed by the specified value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares two device key identifiers for equality.
|
int |
hashCode()
Returns the hashcode of the identifier.
|
T |
id()
Returns the backing identifier value.
|
String |
toString()
Returns a string representation of a DeviceKeyId.
|
protected final T identifier
protected Identifier()
protected Identifier(T value)
value - the backing value