| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public char[] | convertToChars(byte[]
input array of indexes. input)Implements org. |
| public byte[] | convertToIndexes(char[]
characters to be mapped. input)Implements org. |
| public int | getRadix()
Implements org. |
| charMap | back to summary |
|---|---|
| private Map<Integer, Character> charMap | |
| indexMap | back to summary |
|---|---|
| private Map<Character, Integer> indexMap | |
| BasicAlphabetMapper | back to summary |
|---|---|
| public BasicAlphabetMapper(String alphabet) Base constructor.
| |
| BasicAlphabetMapper | back to summary |
|---|---|
| public BasicAlphabetMapper(char[] alphabet) Base constructor.
| |
| convertToChars | back to summary |
|---|---|
| public char[] convertToChars(byte[] input) Implements org. Doc from org. Return a char[] for this alphabet based on the indexes passed.
| |
| convertToIndexes | back to summary |
|---|---|
| public byte[] convertToIndexes(char[] input) Implements org. Doc from org. Return the passed in char[] as a byte array of indexes (indexes can be more than 1 byte)
| |
| getRadix | back to summary |
|---|---|
| public int getRadix() Implements org. Doc from org. Return the number of characters in the alphabet.
| |