public abstract class U8Id extends UnsignedIntBasedId
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_VALUE
Highest valid value.
|
idE_BAD, E_NULL_BYTES, E_NULL_STR, E_OOR, MIN_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
U8Id(int id)
Constructs the id.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
rangeCheck(int value)
Ensures that the given value is within range.
|
byte |
toByte()
Returns this id as a byte.
|
equals, hashCode, toInt, toStringparseIntStr, parseLongStrgetRefQ, keyFromBytespublic static final int MAX_VALUE
public byte toByte()
protected static void rangeCheck(int value)
value - the value to checkIllegalArgumentException - if the value is out of rangeCopyright © 2014. All Rights Reserved.