Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/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 …]
/libcore/ojluni/src/main/java/java/util/
DEnumMap.java79 public class EnumMap<K extends Enum<K>, V> extends AbstractMap<K, V> class
136 public EnumMap(Class<K> keyType) { in EnumMap() method in EnumMap
149 public EnumMap(EnumMap<K, ? extends V> m) { in EnumMap() method in EnumMap
168 public EnumMap(Map<K, ? extends V> m) { in EnumMap() method in EnumMap
169 if (m instanceof EnumMap) { in EnumMap()
170 EnumMap<K, ? extends V> em = (EnumMap<K, ? extends V>) m; in EnumMap()
334 if (m instanceof EnumMap) { in putAll()
335 EnumMap<?, ?> em = (EnumMap<?, ?>)m; in putAll()
402 EnumMap.this.remove(o); in remove()
406 EnumMap.this.clear(); in clear()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/
DEnumMap.java32 public class EnumMap<K extends java.lang.Enum<K>, V> extends java.util.AbstractMap<K, V> class
35 public EnumMap(java.lang.Class<K> keyType) { in EnumMap() method in EnumMap
39 public EnumMap(java.util.EnumMap<K, ? extends V> m) { in EnumMap() method in EnumMap
43 public EnumMap(java.util.Map<K, ? extends V> m) { in EnumMap() method in EnumMap
115 private boolean equals(java.util.EnumMap<?, ?> em) { in equals() argument
127 public java.util.EnumMap<K, V> clone() { in clone()
193 private java.util.EnumMap.EntryIterator.Entry lastReturnedEntry;
/libcore/luni/src/test/java/libcore/java/lang/
DClassCastExceptionTest.java21 import java.util.EnumMap;
50 EnumMap m = new EnumMap(E.class); in testEnumMapPut()
/libcore/metrictests/memory/host/src/libcore/heapmetrics/
DLibcoreHeapMetricsTest.java35 import java.util.EnumMap;
156 EnumMap<Reachability, Size> map = new EnumMap<>(Reachability.class); in sizesByReachability()
/libcore/ojluni/src/main/java/java/util/stream/
DStreamOpFlag.java27 import java.util.EnumMap;
386 return new MaskBuilder(new EnumMap<>(Type.class)).set(t); in set()
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DOpTestCase.java31 import java.util.EnumMap;
57 testScenarios = new EnumMap<>(StreamShape.class); in OpTestCase()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DOpTestCase.java31 import java.util.EnumMap;
58 testScenarios = new EnumMap<>(StreamShape.class); in OpTestCase()
/libcore/
Dopenjdk_java_files.bp887 "ojluni/src/main/java/java/util/EnumMap.java",