| Modifier and Type | Field and Description |
|---|---|
| private static final List | |
| private static final List | |
| private static final List | |
| private static final List | |
| private static final List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public static byte[] | Returns: a singleton instance for the given combination of bytesthe given combination of bytes bytes)Get a singleton instance of the given combination of bytes to avoid multiple instances for same value. |
| public static Integer | Returns: the Integer representation for the given combination of bytesthe given combination of bytes bytes)Get an Integer instance of the given combination of bytes. |
| public static String | Returns: the string representation for the given combination of bytesthe given combination of bytes bytes)Get the mapped string value for the given combination of bytes. |
| indexValues | back to summary |
|---|---|
| private static final List<Integer> indexValues | |
| oneByteMappings | back to summary |
|---|---|
| private static final List<String> oneByteMappings | |
| oneByteValues | back to summary |
|---|---|
| private static final List<byte[]> oneByteValues | |
| twoByteMappings | back to summary |
|---|---|
| private static final List<String> twoByteMappings | |
| twoByteValues | back to summary |
|---|---|
| private static final List<byte[]> twoByteValues | |
| CMapStrings | back to summary |
|---|---|
| private CMapStrings() | |
| fillMappings | back to summary |
|---|---|
| private static void fillMappings() | |
| getByteValue | back to summary |
|---|---|
| public static byte[] getByteValue(byte[] bytes) Get a singleton instance of the given combination of bytes to avoid multiple instances for same value. The values are limited to one and two-byte sequences. Any longer byte sequence produces null as return value.
| |
| getIndexValue | back to summary |
|---|---|
| public static Integer getIndexValue(byte[] bytes) Get an Integer instance of the given combination of bytes. Each value is a singleton to avoid multiple instances for same value. The values are limited to one and two-byte sequences. Any longer byte sequence produces null as return value.
| |
| getMapping | back to summary |
|---|---|
| public static String getMapping(byte[] bytes) Get the mapped string value for the given combination of bytes. The mapping is limited to one and two-byte mappings. Any longer byte sequence produces null as return value.
| |