Home
last modified time | relevance | path

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

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DEnumMapDeserializationTest.java174 EnumMap<Enum1859, String> enumMap = new EnumMap<>(Enum1859.class); in testEnumMapAsPolymorphic() local
175 enumMap.put(Enum1859.A, "Test"); in testEnumMapAsPolymorphic()
176 enumMap.put(Enum1859.B, "stuff"); in testEnumMapAsPolymorphic()
177 Pojo1859 input = new Pojo1859(enumMap); in testEnumMapAsPolymorphic()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableMap.java223 EnumMap<?, ?> enumMap = (EnumMap<?, ?>) map;
224 for (Entry<?, ?> entry : enumMap.entrySet()) {
230 ImmutableMap<K, V> result = ImmutableEnumMap.asImmutable(new EnumMap(enumMap));
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DInternal.java430 final EnumLiteMap<T> enumMap, final T unrecognizedValue) { in newEnumConverter() argument
434 T result = enumMap.findValueByNumber(value); in newEnumConverter()
DSchemaUtil.java906 EnumLiteMap<?> enumMap, in filterUnknownEnumList() argument
909 if (enumMap == null) { in filterUnknownEnumList()
918 if (enumMap.findValueByNumber(enumValue) != null) { in filterUnknownEnumList()
933 if (enumMap.findValueByNumber(enumValue) == null) { in filterUnknownEnumList()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DMapForProto2Test.java329 Map<Integer, TestMap.EnumValue> enumMap = builder.getMutableInt32ToEnumField(); in testMutableMapLifecycle() local
330 enumMap.put(1, TestMap.EnumValue.BAR); in testMutableMapLifecycle()
333 enumMap.put(2, TestMap.EnumValue.FOO); in testMutableMapLifecycle()
DMapTest.java332 Map<Integer, TestMap.EnumValue> enumMap = builder.getMutableInt32ToEnumField(); in testMutableMapLifecycle() local
333 enumMap.put(1, TestMap.EnumValue.BAR); in testMutableMapLifecycle()
336 enumMap.put(2, TestMap.EnumValue.FOO); in testMutableMapLifecycle()
/external/guava/android/guava/src/com/google/common/collect/
DMaps.java157 EnumMap<K, V> enumMap = new EnumMap<>(clazz);
158 enumMap.put(key1, value1);
164 enumMap.put(key, value);
166 return ImmutableEnumMap.asImmutable(enumMap);
/external/guava/guava/src/com/google/common/collect/
DMaps.java162 EnumMap<K, V> enumMap = new EnumMap<>(clazz);
163 enumMap.put(key1, value1);
169 enumMap.put(key, value);
171 return ImmutableEnumMap.asImmutable(enumMap);