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