/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | EnumMapTest.java | 21 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/ |
D | EnumBiMap.java | 27 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()
|
D | EnumMultiset.java | 25 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()
|
D | EnumHashBiMap.java | 25 import java.util.EnumMap; 74 new EnumMap<K, V>(keyType)), in EnumHashBiMap() 112 setDelegates(WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), in readObject()
|
D | Maps.java | 43 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/ |
D | WellBehavedMapTest.java | 23 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()
|
D | MapsTest.java | 51 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/ |
D | EnumBiMap.java | 23 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()
|
D | EnumMultiset.java | 21 import java.util.EnumMap; 58 super(WellBehavedMap.wrap(new EnumMap<E, Count>(type))); in EnumMultiset()
|
D | EnumHashBiMap.java | 21 import java.util.EnumMap; 69 new EnumMap<K, V>(keyType)), in EnumHashBiMap()
|
D | Maps.java | 42 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/ |
D | TestsForMapsInJavaUtil.java | 30 import java.util.EnumMap; 190 new EnumMap<AnEnum, String>(AnEnum.class), entries);
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
D | ImageToAwt.java | 44 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/ |
D | network_library.cc | 420 typedef typename std::map<std::string, Type> EnumMap; typedef in chromeos::__anond8faa2110111::StringToEnum 422 EnumMap enum_map_;
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 10695 ValueToVectorMap EnumMap; in CheckForDuplicateEnumValues() local 10712 DeclOrVector &Entry = EnumMap[Key]; in CheckForDuplicateEnumValues() 10727 DeclOrVector& Entry = EnumMap[Key]; in CheckForDuplicateEnumValues()
|