Home
last modified time | relevance | path

Searched refs:FieldDescriptorType (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DFieldSet.java52 FieldDescriptorType extends FieldSet.FieldDescriptorLite<FieldDescriptorType>> {
75 private final SmallSortedMap<FieldDescriptorType, Object> fields;
155 public FieldSet<FieldDescriptorType> clone() { in clone()
158 FieldSet<FieldDescriptorType> clone = FieldSet.newFieldSet(); in clone()
160 Map.Entry<FieldDescriptorType, Object> entry = fields.getArrayEntryAt(i); in clone()
161 FieldDescriptorType descriptor = entry.getKey(); in clone()
164 for (Map.Entry<FieldDescriptorType, Object> entry : fields.getOverflowEntries()) { in clone()
165 FieldDescriptorType descriptor = entry.getKey(); in clone()
182 public Map<FieldDescriptorType, Object> getAllFields() { in getAllFields()
184 SmallSortedMap<FieldDescriptorType, Object> result = SmallSortedMap.newFieldMap(16); in getAllFields()
[all …]
DSmallSortedMap.java93 static <FieldDescriptorType extends FieldSet.FieldDescriptorLite<FieldDescriptorType>>
94 SmallSortedMap<FieldDescriptorType, Object> newFieldMap(int arraySize) { in newFieldMap()
95 return new SmallSortedMap<FieldDescriptorType, Object>(arraySize) { in newFieldMap()
101 final Map.Entry<FieldDescriptorType, Object> entry = getArrayEntryAt(i); in newFieldMap()
107 for (Map.Entry<FieldDescriptorType, Object> entry : getOverflowEntries()) { in newFieldMap()