Searched refs:EnumMap (Results 1 – 8 of 8) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/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 …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | EnumMap.java | 79 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/ |
D | EnumMap.java | 32 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/metrictests/memory/host/src/libcore/heapmetrics/ |
D | LibcoreHeapMetricsTest.java | 35 import java.util.EnumMap; 156 EnumMap<Reachability, Size> map = new EnumMap<>(Reachability.class); in sizesByReachability()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | StreamOpFlag.java | 27 import java.util.EnumMap; 386 return new MaskBuilder(new EnumMap<>(Type.class)).set(t); in set()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | OpTestCase.java | 31 import java.util.EnumMap; 58 testScenarios = new EnumMap<>(StreamShape.class); in OpTestCase()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | OpTestCase.java | 31 import java.util.EnumMap; 57 testScenarios = new EnumMap<>(StreamShape.class); in OpTestCase()
|
/libcore/ |
D | openjdk_java_files.bp | 894 "ojluni/src/main/java/java/util/EnumMap.java",
|