public abstract class UnsignedLongBasedId extends UnsignedId
Modifier and Type | Field and Description |
---|---|
protected long |
id
The id.
|
E_BAD, E_NULL_BYTES, E_NULL_STR, E_OOR, MIN_VALUE
Modifier | Constructor and Description |
---|---|
protected |
UnsignedLongBasedId(long id)
Constructs the id.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
long |
toLong()
Returns this id as a long.
|
String |
toString()
Returns a string representation of this id.
|
parseIntStr, parseLongStr
getRefQ, keyFromBytes
protected UnsignedLongBasedId(long id)
id
- the id valuepublic String toString()
public long toLong()
Copyright © 2015. All Rights Reserved.