| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| public static final UInt24Array | |
| private static final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | Returns: position of the needle in the array, -1 if not found. Runtime exception if the value is too big for 3 bytes.It cannot be bigger than 0xffffff (max unsigned three bytes). needle)Search needle in the array. |
| pack-priv int | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv int |
| data | back to summary |
|---|---|
| private final byte[] data | |
| EMPTY | back to summary |
|---|---|
| public static final UInt24Array EMPTY | |
| ENTRY_SZ | back to summary |
|---|---|
| private static final int ENTRY_SZ | |
| size | back to summary |
|---|---|
| private final int size | |
| UInt24Array | back to summary |
|---|---|
| pack-priv UInt24Array(byte[] data) | |
| binarySearch | back to summary |
|---|---|
| pack-priv int binarySearch(int needle) Search needle in the array. This assumes a sorted array.
| |
| get | back to summary |
|---|---|
| pack-priv int get(int index) | |
| getLastValue | back to summary |
|---|---|
| pack-priv int getLastValue() | |
| isEmpty | back to summary |
|---|---|
| pack-priv boolean isEmpty() | |
| size | back to summary |
|---|---|
| pack-priv int size() | |