Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/util/concurrent/
DConcurrentHashMapTest.java320 private ConcurrentHashMap.KeySetView<String, Boolean> createKeySet() { in createKeySet()
322 ConcurrentHashMap.KeySetView<String, Boolean> set = in createKeySet()
337 ConcurrentHashMap.KeySetView set = createKeySet(); in testKeySetViewClear()
346 ConcurrentHashMap.KeySetView set = createKeySet(); in testKeySetViewContainsAll()
358 ConcurrentHashMap.KeySetView<Integer, Boolean> set = in testKeySetViewForEach()
371 ConcurrentHashMap.KeySetView set = createKeySet(); in testKeySetViewRemoveAll()
382 ConcurrentHashMap.KeySetView set = createKeySet(); in testKeySetViewRetainAll()
/libcore/ojluni/annotations/sdk/nullability/java/util/concurrent/
DConcurrentHashMap.annotated.java124 …tatic <@libcore.util.NonNull K> java.util.concurrent.ConcurrentHashMap.KeySetView<@libcore.util.No… in newKeySet()
126 …tatic <@libcore.util.NonNull K> java.util.concurrent.ConcurrentHashMap.KeySetView<@libcore.util.No… in newKeySet()
128 …@libcore.util.NonNull public java.util.concurrent.ConcurrentHashMap.KeySetView<@libcore.util.NonNu… in keySet()
193 …public static class KeySetView<K, V> implements java.util.Collection<K>, java.io.Serializable, jav… class in ConcurrentHashMap
195KeySetView(@libcore.util.NonNull java.util.concurrent.ConcurrentHashMap<K,V> map, @libcore.util.Nu… in KeySetView() method in ConcurrentHashMap.KeySetView
/libcore/ojluni/src/test/java/util/concurrent/tck/
DConcurrentHashMap8Test.java241 assertTrue(((ConcurrentHashMap.KeySetView)set2).getMap() == map); in testKeySetAddRemove()
242 assertTrue(((ConcurrentHashMap.KeySetView)set1).getMap() == map); in testKeySetAddRemove()
328 assertNull(((ConcurrentHashMap.KeySetView)map.keySet()).getMappedValue()); in testGetMappedValue()
333 ConcurrentHashMap.KeySetView set = map.keySet(one); in testGetMappedValue()
/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentHashMap8Test.java217 assertTrue(((ConcurrentHashMap.KeySetView)set2).getMap() == map); in testKeySetAddRemove()
218 assertTrue(((ConcurrentHashMap.KeySetView)set1).getMap() == map); in testKeySetAddRemove()
303 assertNull(((ConcurrentHashMap.KeySetView) map.keySet()).getMappedValue()); in testGetMappedValue()
308 ConcurrentHashMap.KeySetView set = map.keySet(one); in testGetMappedValue()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java818 private transient KeySetView<K,V> keySet;
1240 @dalvik.annotation.codegen.CovariantReturnType(returnType = KeySetView.class, presentAfter = 28)
1242 KeySetView<K,V> ks; in keySet()
1244 return keySet = new KeySetView<K,V>(this, null); in keySet()
2192 public static <K> KeySetView<K,Boolean> newKeySet() { in newKeySet()
2193 return new KeySetView<K,Boolean> in newKeySet()
2209 public static <K> KeySetView<K,Boolean> newKeySet(int initialCapacity) { in newKeySet()
2210 return new KeySetView<K,Boolean> in newKeySet()
2225 public KeySetView<K,V> keySet(V mappedValue) { in keySet()
2228 return new KeySetView<K,V>(this, mappedValue); in keySet()
[all …]
/libcore/api/
Dcurrent.txt15082 … method @NonNull public java.util.concurrent.ConcurrentHashMap.KeySetView<K,V> keySet(@NonNull V);
15085 …method @NonNull public static <K> java.util.concurrent.ConcurrentHashMap.KeySetView<K,java.lang.Bo…
15086 …method @NonNull public static <K> java.util.concurrent.ConcurrentHashMap.KeySetView<K,java.lang.Bo…
15112 …public static class ConcurrentHashMap.KeySetView<K, V> implements java.util.Collection<K> java.io.…