ProtobufField instances
need to be looked up by name. Basically a more specialized Map
implementation.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | FieldLookup.
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 FieldLookup | |
| public static FieldLookup | |
| public abstract ProtobufField |
| FieldLookup | back to summary |
|---|---|
| public FieldLookup() | |
| construct | back to summary |
|---|---|
| public static FieldLookup construct(ProtobufField[] fields) | |
| empty | back to summary |
|---|---|
| public static FieldLookup empty() | |
| findField | back to summary |
|---|---|
| public abstract ProtobufField findField(String key) | |
| Modifier and Type | Field and Description |
|---|---|
| private final ProtobufField[] | |
| private final int | |
| private final String[] | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private ProtobufField | |
| public static FieldLookup. | |
| public ProtobufField | findField(String key)
Implements abstract com.
|
| private static final int |
| _fields | back to summary |
|---|---|
| private final ProtobufField[] _fields | |
| _hashMask | back to summary |
|---|---|
| private final int _hashMask | |
| _keys | back to summary |
|---|---|
| private final String[] _keys | |
| _spillCount | back to summary |
|---|---|
| private final int _spillCount | |
| Big | back to summary |
|---|---|
| private Big(int hashMask, int spillCount, String[] keys, ProtobufField[] fields) | |
| _findFromSpill | back to summary |
|---|---|
| private ProtobufField _findFromSpill(String key) | |
| construct | back to summary |
|---|---|
| public static FieldLookup. Hides com. | |
| findField | back to summary |
|---|---|
| public ProtobufField findField(String key) Implements abstract com.
| |
| findSize | back to summary |
|---|---|
| private static final int findSize(int size) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final FieldLookup. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ProtobufField | findField(String key)
Implements abstract com.
|
| instance | back to summary |
|---|---|
| public static final FieldLookup. | |
| Empty | back to summary |
|---|---|
| private Empty() | |
| findField | back to summary |
|---|---|
| public ProtobufField findField(String key) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final ProtobufField | |
| protected final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ProtobufField | findField(String key)
Implements abstract com.
|
| field1 | back to summary |
|---|---|
| protected final ProtobufField field1 | |
| key1 | back to summary |
|---|---|
| protected final String key1 | |
| Small1 | back to summary |
|---|---|
| pack-priv Small1(ProtobufField f) | |
| findField | back to summary |
|---|---|
| public ProtobufField findField(String key) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final ProtobufField | |
| protected final ProtobufField | |
| protected final String | |
| protected final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ProtobufField | findField(String key)
Implements abstract com.
|
| field1 | back to summary |
|---|---|
| protected final ProtobufField field1 | |
| field2 | back to summary |
|---|---|
| protected final ProtobufField field2 | |
| key1 | back to summary |
|---|---|
| protected final String key1 | |
| key2 | back to summary |
|---|---|
| protected final String key2 | |
| Small2 | back to summary |
|---|---|
| pack-priv Small2(ProtobufField f1, ProtobufField f2) | |
| findField | back to summary |
|---|---|
| public ProtobufField findField(String key) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final ProtobufField | |
| protected final ProtobufField | |
| protected final ProtobufField | |
| protected final String | |
| protected final String | |
| protected final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private final ProtobufField | |
| public ProtobufField | findField(String key)
Implements abstract com.
|
| field1 | back to summary |
|---|---|
| protected final ProtobufField field1 | |
| field2 | back to summary |
|---|---|
| protected final ProtobufField field2 | |
| field3 | back to summary |
|---|---|
| protected final ProtobufField field3 | |
| 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(ProtobufField f1, ProtobufField f2, ProtobufField f3) | |
| _find2 | back to summary |
|---|---|
| private final ProtobufField _find2(String key) | |
| findField | back to summary |
|---|---|
| public ProtobufField findField(String key) Implements abstract com.
| |