Searched refs:EnumMap (Results 1 – 7 of 7) 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/luni/src/test/java/libcore/java/lang/ |
D | ClassCastExceptionTest.java | 21 import java.util.EnumMap; 50 EnumMap m = new EnumMap(E.class); in testEnumMapPut()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | StreamOpFlag.java | 27 import java.util.EnumMap; 385 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.mk | 884 ojluni/src/main/java/java/util/EnumMap.java \
|