| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | EnumLookup.
Raw mapping from keys to indices, optimized for fast access via better memory efficiency. |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static EnumLookup | |
| public static EnumLookup | |
| public abstract String | |
| public abstract int | |
| public abstract int | |
| public abstract Collection |
| EnumLookup | back to summary |
|---|---|
| public EnumLookup() | |
| construct | back to summary |
|---|---|
| public static EnumLookup construct(ProtobufEnum enumDef) | |
| empty | back to summary |
|---|---|
| public static EnumLookup empty() | |
| findEnumByIndex | back to summary |
|---|---|
| public abstract String findEnumByIndex(int index) | |
| findEnumIndex | back to summary |
|---|---|
| public abstract int findEnumIndex(SerializableString key) | |
| findEnumIndex | back to summary |
|---|---|
| public abstract int findEnumIndex(String key) | |
| getEnumValues | back to summary |
|---|---|
| public abstract Collection | |
| Modifier and Type | Field and Description |
|---|---|
| protected final LinkedHashMap | _enumsById
For fields of type |
| private final int | |
| private final int[] | |
| private final String[] | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private | Big(LinkedHashMap<Integer, String> byId, int hashMask, int spillCount, String[] keys, int[] indices)
|
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public static EnumLookup. | |
| public String | findEnumByIndex(int index)
Implements abstract com.
|
| public int | findEnumIndex(SerializableString key0)
Implements abstract com.
|
| public int | findEnumIndex(String key)
Implements abstract com.
|
| private static final int | |
| public Collection | getEnumValues()
Implements abstract com.
|
| _enumsById | back to summary |
|---|---|
| protected final LinkedHashMap<Integer, String> _enumsById For fields of type | |
| _hashMask | back to summary |
|---|---|
| private final int _hashMask | |
| _indices | back to summary |
|---|---|
| private final int[] _indices | |
| _keys | back to summary |
|---|---|
| private final String[] _keys | |
| _spillCount | back to summary |
|---|---|
| private final int _spillCount | |
| Big | back to summary |
|---|---|
| private Big(LinkedHashMap<Integer, String> byId, int hashMask, int spillCount, String[] keys, int[] indices) | |
| _findFromSpill | back to summary |
|---|---|
| private int _findFromSpill(String key) | |
| construct | back to summary |
|---|---|
| public static EnumLookup. | |
| findEnumByIndex | back to summary |
|---|---|
| public String findEnumByIndex(int index) Implements abstract com.
| |
| findEnumIndex | back to summary |
|---|---|
| public int findEnumIndex(SerializableString key0) Implements abstract com.
| |
| findEnumIndex | back to summary |
|---|---|
| public int findEnumIndex(String key) Implements abstract com.
| |
| findSize | back to summary |
|---|---|
| private static final int findSize(int size) | |
| getEnumValues | back to summary |
|---|---|
| public Collection Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final EnumLookup. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | findEnumByIndex(int index)
Implements abstract com.
|
| public int | findEnumIndex(SerializableString key)
Implements abstract com.
|
| public int | findEnumIndex(String key)
Implements abstract com.
|
| public Collection | getEnumValues()
Implements abstract com.
|
| instance | back to summary |
|---|---|
| public static final EnumLookup. | |
| Empty | back to summary |
|---|---|
| private Empty() | |
| findEnumByIndex | back to summary |
|---|---|
| public String findEnumByIndex(int index) Implements abstract com.
| |
| findEnumIndex | back to summary |
|---|---|
| public int findEnumIndex(SerializableString key) Implements abstract com.
| |
| findEnumIndex | back to summary |
|---|---|
| public int findEnumIndex(String key) Implements abstract com.
| |
| getEnumValues | back to summary |
|---|---|
| public Collection Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final int | |
| protected final String |
| Modifier and Type | Method and Description |
|---|---|
| public String | findEnumByIndex(int index)
Implements abstract com.
|
| public int | findEnumIndex(SerializableString key)
Implements abstract com.
|
| public int | findEnumIndex(String key)
Implements abstract com.
|
| public Collection | getEnumValues()
Implements abstract com.
|
| index1 | back to summary |
|---|---|
| protected final int index1 | |
| key1 | back to summary |
|---|---|
| protected final String key1 | |
| Small1 | back to summary |
|---|---|
| pack-priv Small1(String key, int index) | |
| findEnumByIndex | back to summary |
|---|---|
| public String findEnumByIndex(int index) Implements abstract com.
| |
| findEnumIndex | back to summary |
|---|---|
| public int findEnumIndex(SerializableString key) Implements abstract com.
| |
| findEnumIndex | back to summary |
|---|---|
| public int findEnumIndex(String key) Implements abstract com.
| |
| getEnumValues | back to summary |
|---|---|
| public Collection Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final int | |
| protected final int | |
| protected final String | |
| protected final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | findEnumByIndex(int index)
Implements abstract com.
|
| public int | findEnumIndex(SerializableString key0)
Implements abstract com.
|
| public int | findEnumIndex(String key)
Implements abstract com.
|
| public Collection | getEnumValues()
Implements abstract com.
|
| index1 | back to summary |
|---|---|
| protected final int index1 | |
| index2 | back to summary |
|---|---|
| protected final int index2 | |
| key1 | back to summary |
|---|---|
| protected final String key1 | |
| key2 | back to summary |
|---|---|
| protected final String key2 | |
| Small2 | back to summary |
|---|---|
| pack-priv Small2(String k1, int i1, String k2, int i2) | |
| findEnumByIndex | back to summary |
|---|---|
| public String findEnumByIndex(int index) Implements abstract com.
| |
| findEnumIndex | back to summary |
|---|---|
| public int findEnumIndex(SerializableString key0) Implements abstract com.
| |
| findEnumIndex | back to summary |
|---|---|
| public int findEnumIndex(String key) Implements abstract com.
| |
| getEnumValues | back to summary |
|---|---|
| public Collection Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final int | |
| protected final int | |
| protected final int | |
| protected final String | |
| protected final String | |
| protected final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public String | findEnumByIndex(int index)
Implements abstract com.
|
| public int | findEnumIndex(SerializableString key0)
Implements abstract com.
|
| public int | findEnumIndex(String key)
Implements abstract com.
|
| public Collection | getEnumValues()
Implements abstract com.
|
| index1 | back to summary |
|---|---|
| protected final int index1 | |
| index2 | back to summary |
|---|---|
| protected final int index2 | |
| index3 | back to summary |
|---|---|
| protected final int index3 | |
| key1 | back to summary |
|---|---|
| protected final String key1 | |
| key2 | back to summary |
|---|---|
| protected final String key2 | |
| key3 | back to summary |
|---|---|
| protected final String key3 | |
| Small3 | back to summary |
|---|---|
| pack-priv Small3(String k1, int i1, String k2, int i2, String k3, int i3) | |
| _findIndex2 | back to summary |
|---|---|
| private int _findIndex2(String key) | |
| findEnumByIndex | back to summary |
|---|---|
| public String findEnumByIndex(int index) Implements abstract com.
| |
| findEnumIndex | back to summary |
|---|---|
| public int findEnumIndex(SerializableString key0) Implements abstract com.
| |
| findEnumIndex | back to summary |
|---|---|
| public int findEnumIndex(String key) Implements abstract com.
| |
| getEnumValues | back to summary |
|---|---|
| public Collection Implements abstract com.
| |