| Modifier and Type | Method and Description |
|---|---|
IID |
addPowerOfTwo(int i)
Adds 2^powerOfTwo to the value of this ID and returns the result as new
ID.
|
byte[] |
getBytes()
Returns the bytes.
|
int |
getLength()
Check whether this ID is in the given closed interval.
|
boolean |
isInInterval(IID start,
IID end)
Check whether this ID is in the given closed interval.
|
boolean |
isInInterval(IID start,
IID end,
boolean leftOpen,
boolean rightOpen)
Check whether this ID is in the given interval.
|
boolean isInInterval(IID start, IID end)
start - Begin of interval.end - End of interval.boolean isInInterval(IID start, IID end, boolean leftOpen, boolean rightOpen)
start - Begin of interval.end - End of interval.leftOpen - If true, the start value is included in the interval.rightOpen - If true, the end value is included in the interval.int getLength()
start - Begin of interval.end - End of interval.byte[] getBytes()
IID addPowerOfTwo(int i)
powerOfTwo - exponent to be used for subtraction.