Home
last modified time | relevance | path

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

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DEnumMapTest.java21 import java.util.EnumMap;
82 new EnumMap((Class) null); in test_ConstructorLjava_lang_Class()
90 new EnumMap(Size.Big.getClass()); in test_ConstructorLjava_lang_Class()
97 new EnumMap(Integer.class); in test_ConstructorLjava_lang_Class()
103 EnumMap enumColorMap = new EnumMap<Color, Double>(Color.class); in test_ConstructorLjava_lang_Class()
109 EnumMap enumEmptyMap = new EnumMap<Empty, Double>(Empty.class); in test_ConstructorLjava_lang_Class()
117 EnumMap enumSizeMap = new EnumMap(Size.class); in test_ConstructorLjava_lang_Class()
129 enumSizeMap = new EnumMap(Size.Middle.getClass()); in test_ConstructorLjava_lang_Class()
147 EnumMap enumMap; in test_ConstructorLjava_util_EnumMap()
148 EnumMap enumColorMap = null; in test_ConstructorLjava_util_EnumMap()
[all …]
/external/guava/guava/src/com/google/common/collect/
DEnumBiMap.java27 import java.util.EnumMap;
74 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), in EnumBiMap()
75 WellBehavedMap.wrap(new EnumMap<V, K>(valueType))); in EnumBiMap()
129 WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), in readObject()
130 WellBehavedMap.wrap(new EnumMap<V, K>(valueType))); in readObject()
DEnumMultiset.java25 import java.util.EnumMap;
62 super(WellBehavedMap.wrap(new EnumMap<E, Count>(type))); in EnumMultiset()
84 setBackingMap(WellBehavedMap.wrap(new EnumMap<E, Count>(type))); in readObject()
DEnumHashBiMap.java25 import java.util.EnumMap;
74 new EnumMap<K, V>(keyType)), in EnumHashBiMap()
112 setDelegates(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), in readObject()
DMaps.java43 import java.util.EnumMap;
244 public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap(Class<K> type) { in newEnumMap()
245 return new EnumMap<K, V>(checkNotNull(type)); in newEnumMap()
257 public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap( in newEnumMap()
259 return new EnumMap<K, V>(map); in newEnumMap()
/external/guava/guava-tests/test/com/google/common/collect/
DWellBehavedMapTest.java23 import java.util.EnumMap;
35 new EnumMap<Foo, Integer>(Foo.class)); in testEntrySet_contain()
51 new EnumMap<Foo, Integer>(Foo.class)); in testEntry_setValue()
63 new EnumMap<Foo, Integer>(Foo.class)); in testEntriesAreMutableAndConsistent()
90 new EnumMap<Foo, Integer>(Foo.class)); in testEntrySet_remove()
DMapsTest.java51 import java.util.EnumMap;
270 EnumMap<SomeEnum, Integer> map = Maps.newEnumMap(SomeEnum.class); in testEnumMap()
285 EnumMap<SomeEnum, Integer> original = Maps.newEnumMap(SomeEnum.class); in testEnumMapWithInitialEnumMap()
287 EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original); in testEnumMapWithInitialEnumMap()
292 EnumMap<SomeEnum, Integer> original = Maps.newEnumMap(SomeEnum.class); in testEnumMapWithInitialEmptyEnumMap()
293 EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original); in testEnumMapWithInitialEmptyEnumMap()
301 EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original); in testEnumMapWithInitialMap()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DEnumBiMap.java23 import java.util.EnumMap;
70 super(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), in EnumBiMap()
71 WellBehavedMap.wrap(new EnumMap<V, K>(valueType))); in EnumBiMap()
DEnumMultiset.java21 import java.util.EnumMap;
58 super(WellBehavedMap.wrap(new EnumMap<E, Count>(type))); in EnumMultiset()
DEnumHashBiMap.java21 import java.util.EnumMap;
69 new EnumMap<K, V>(keyType)), in EnumHashBiMap()
DMaps.java42 import java.util.EnumMap;
241 public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap(Class<K> type) { in newEnumMap()
242 return new EnumMap<K, V>(checkNotNull(type)); in newEnumMap()
254 public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap( in newEnumMap()
256 return new EnumMap<K, V>(map); in newEnumMap()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestsForMapsInJavaUtil.java30 import java.util.EnumMap;
190 new EnumMap<AnEnum, String>(AnEnum.class), entries);
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
DImageToAwt.java44 import java.util.EnumMap;
48 private static final EnumMap<Format, DecodeParams> params
49 = new EnumMap<Format, DecodeParams>(Format.class);
/external/chromium/chrome/browser/chromeos/cros/
Dnetwork_library.cc420 typedef typename std::map<std::string, Type> EnumMap; typedef in chromeos::__anond8faa2110111::StringToEnum
422 EnumMap enum_map_;
/external/clang/lib/Sema/
DSemaDecl.cpp10695 ValueToVectorMap EnumMap; in CheckForDuplicateEnumValues() local
10712 DeclOrVector &Entry = EnumMap[Key]; in CheckForDuplicateEnumValues()
10727 DeclOrVector& Entry = EnumMap[Key]; in CheckForDuplicateEnumValues()