Home
last modified time | relevance | path

Searched refs:newKeySet (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/concurrent/
DConcurrentHashMapTest.java223 Set<Long> set = ConcurrentHashMap.<Long>newKeySet(capacity); in testNewKeySetWithCapacity()
236 Set<Long> set = ConcurrentHashMap.<Long>newKeySet(capacity); in testNewKeySetWithZeroCapacity()
249 Set<Long> set = ConcurrentHashMap.<Long>newKeySet(capacity); in testNewKeySetWithInvalidCapacity()
323 ConcurrentHashMap.<String>newKeySet(count); in createKeySet()
359 ConcurrentHashMap.<Integer>newKeySet(count); in testKeySetViewForEach()
/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentHashMap8Test.java168 Set<Integer> a = ConcurrentHashMap.<Integer>newKeySet(); in populatedSet()
178 Set<Integer> a = ConcurrentHashMap.<Integer>newKeySet(); in populatedSet()
204 Set a = ConcurrentHashMap.newKeySet(); in testNewKeySet()
403 Collection empty = ConcurrentHashMap.newKeySet(); in testIterator()
429 assertIteratorExhausted(ConcurrentHashMap.newKeySet().iterator()); in testEmptyIterator()
454 assertEquals("[]", ConcurrentHashMap.newKeySet().toString()); in testToString()
486 Set empty = ConcurrentHashMap.newKeySet(); in testSize()
497 Object[] a = ConcurrentHashMap.newKeySet().toArray(); in testToArray()
517 Collection empty = ConcurrentHashMap.newKeySet(); in testToArray2()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DConcurrentHashMap8Test.java219 Set<Integer> a = ConcurrentHashMap.<Integer>newKeySet(); in populatedSet()
229 Set<Integer> a = ConcurrentHashMap.<Integer>newKeySet(); in populatedSet()
257 Set a = ConcurrentHashMap.newKeySet(); in testNewKeySet()
472 Collection empty = ConcurrentHashMap.newKeySet(); in testIterator()
499 assertIteratorExhausted(ConcurrentHashMap.newKeySet().iterator()); in testEmptyIterator()
526 assertEquals("[]", ConcurrentHashMap.newKeySet().toString()); in testToString()
561 Set empty = ConcurrentHashMap.newKeySet(); in testSize()
573 Object[] a = ConcurrentHashMap.newKeySet().toArray(); in testToArray()
594 Collection empty = ConcurrentHashMap.newKeySet(); in testToArray2()
/libcore/ojluni/annotations/sdk/nullability/java/util/concurrent/
DConcurrentHashMap.annotated.java124 …tView<@libcore.util.NonNull K, @libcore.util.NonNull java.lang.Boolean> newKeySet() { throw new Ru… in newKeySet() method in ConcurrentHashMap
126 …tView<@libcore.util.NonNull K, @libcore.util.NonNull java.lang.Boolean> newKeySet(int initialCapac… in newKeySet() method in ConcurrentHashMap
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java2192 public static <K> KeySetView<K,Boolean> newKeySet() { in newKeySet() method in ConcurrentHashMap
2209 public static <K> KeySetView<K,Boolean> newKeySet(int initialCapacity) { in newKeySet() method in ConcurrentHashMap
/libcore/api/
Dcurrent.txt15711 …blic static <K> java.util.concurrent.ConcurrentHashMap.KeySetView<K,java.lang.Boolean> newKeySet();
15712 …c static <K> java.util.concurrent.ConcurrentHashMap.KeySetView<K,java.lang.Boolean> newKeySet(int);