Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DMapField.java92 private final MapEntry<K, V> defaultEntry; field in MapField.ImmutableMessageConverter
93 public ImmutableMessageConverter(MapEntry<K, V> defaultEntry) { in ImmutableMessageConverter() argument
94 this.defaultEntry = defaultEntry; in ImmutableMessageConverter()
99 return defaultEntry.newBuilderForType().setKey(key).setValue(value).buildPartial(); in convertKeyAndValueToMessage()
110 return defaultEntry; in getMessageDefaultInstance()
129 MapEntry<K, V> defaultEntry, in MapField() argument
132 this(new ImmutableMessageConverter<K, V>(defaultEntry), mode, mapData); in MapField()
138 MapEntry<K, V> defaultEntry) { in emptyMapField() argument
140 defaultEntry, StorageMode.MAP, Collections.<K, V>emptyMap()); in emptyMapField()
145 public static <K, V> MapField<K, V> newMapField(MapEntry<K, V> defaultEntry) { in newMapField() argument
[all …]