Searched refs:KeySetView (Results 1 – 6 of 6) sorted by relevance
| /libcore/luni/src/test/java/libcore/java/util/concurrent/ |
| D | ConcurrentHashMapTest.java | 320 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/ |
| D | ConcurrentHashMap.annotated.java | 124 …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 195 …KeySetView(@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/ |
| D | ConcurrentHashMap8Test.java | 241 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/ |
| D | ConcurrentHashMap8Test.java | 217 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/ |
| D | ConcurrentHashMap.java | 818 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/ |
| D | current.txt | 15082 … 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.…
|