| Modifier and Type | Field and Description |
|---|---|
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public abstract int | Returns: the decoded value or -1 if the code point is not validthe Unicode code point codePoint)Decode the given code point (character). |
| public abstract int | |
| public boolean | Returns: true if the alphabet is little-endian, false if it is big-endianDetermine whether this is a little-endian or big-endian alphabet. |
| littleEndian | back to summary |
|---|---|
| private final boolean littleEndian | |
| Alphabet | back to summary |
|---|---|
| pack-priv Alphabet(final boolean littleEndian) | |
| decode | back to summary |
|---|---|
| public abstract int decode(int codePoint) Decode the given code point (character). If the code point is not valid, -1 is returned.
| |
| encode | back to summary |
|---|---|
| public abstract int encode(int val) Encode the given byte value to a code point.
| |
| isLittleEndian | back to summary |
|---|---|
| public boolean isLittleEndian() Determine whether this is a little-endian or big-endian alphabet.
| |