Searched refs:KeySetView (Results 1 – 3 of 3) sorted by relevance
| /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/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 | 821 private transient KeySetView<K,V> keySet; 1245 @dalvik.annotation.codegen.CovariantReturnType(returnType = KeySetView.class, presentAfter = 28) 1247 KeySetView<K,V> ks; in keySet() 1248 return (ks = keySet) != null ? ks : (keySet = new KeySetView<K,V>(this, null)); in keySet() 2188 public static <K> KeySetView<K,Boolean> newKeySet() { in newKeySet() 2189 return new KeySetView<K,Boolean> in newKeySet() 2205 public static <K> KeySetView<K,Boolean> newKeySet(int initialCapacity) { in newKeySet() 2206 return new KeySetView<K,Boolean> in newKeySet() 2221 public KeySetView<K,V> keySet(V mappedValue) { in keySet() 2224 return new KeySetView<K,V>(this, mappedValue); in keySet() [all …]
|