/libcore/ojluni/src/main/java/java/util/ |
H A D | SortedMap.java | 34 * {@code entrySet}, {@code keySet} and {@code values} methods). 243 Set<K> keySet(); method in interface:SortedMap
|
H A D | AbstractMap.java | 317 * public Set<K> keySet() { 318 * Set<K> ks = keySet; // single racy read 321 * keySet = ks; 327 transient Set<K> keySet; field in class:AbstractMap 346 public Set<K> keySet() { method in class:AbstractMap 347 Set<K> ks = keySet; 384 keySet = ks; 574 result.keySet = null;
|
H A D | EnumMap.java | 40 * in the iterators returned by the collections views ({@link #keySet()}, 178 keyType = m.keySet().iterator().next().getDeclaringClass(); 375 * {@link Map#keySet()}. The set's iterator will return the keys 381 public Set<K> keySet() { method in class:EnumMap 382 Set<K> ks = keySet; 385 keySet = ks; 459 * {@link Map#keySet()}. The set's iterator will return the
|
H A D | Map.java | 325 Set<K> keySet(); method in interface:Map
|
H A D | LinkedHashMap.java | 148 * <li>For a Collection view {@code c = lhm.keySet()}, 149 * {@code c = lhm.keySet()} or {@code c = lhm.values()}, use 563 public Set<K> keySet() { method in class:LinkedHashMap 564 Set<K> ks = keySet; 567 keySet = ks;
|
H A D | Hashtable.java | 255 * @see #keySet() 554 t.keySet = null; 622 private transient volatile Set<K> keySet; field in class:Hashtable 641 public Set<K> keySet() { method in class:Hashtable 642 if (keySet == null) 643 keySet = Collections.synchronizedSet(new KeySet(), this); 644 return keySet;
|
H A D | IdentityHashMap.java | 965 public Set<K> keySet() { method in class:IdentityHashMap 966 Set<K> ks = keySet; 969 keySet = ks;
|
H A D | WeakHashMap.java | 866 public Set<K> keySet() { method in class:WeakHashMap 867 Set<K> ks = keySet; 870 keySet = ks;
|
H A D | HashMap.java | 399 * for keySet() and values(). 904 public Set<K> keySet() { method in class:HashMap 905 Set<K> ks = keySet; 908 keySet = ks; 1770 keySet = null;
|
H A D | ResourceBundle.java | 243 * return Collections.enumeration(keySet()); 247 * // can rely on the keySet() value. 361 private volatile Set<String> keySet; field in class:ResourceBundle 1758 Set<CacheKey> set = cacheList.keySet(); 1818 public Set<String> keySet() { method in class:ResourceBundle 1844 if (keySet == null) { 1846 if (keySet == null) { 1855 keySet = keys; 1859 return keySet;
|
H A D | TreeMap.java | 817 public Set<K> keySet() { method in class:TreeMap 1609 public final Set<K> keySet() { method in class:TreeMap.NavigableSubMap
|
H A D | Collections.java | 1511 private transient Set<K> keySet; field in class:Collections.UnmodifiableMap 1515 public Set<K> keySet() { method in class:Collections.UnmodifiableMap 1516 if (keySet==null) 1517 keySet = unmodifiableSet(m.keySet()); 1518 return keySet; 2573 * Set s = m.keySet(); // Needn't be in synchronized block 2644 private transient Set<K> keySet; field in class:Collections.SynchronizedMap 2648 public Set<K> keySet() { method in class:Collections.SynchronizedMap 2650 if (keySet 2940 public NavigableSet<K> keySet() { method in class:Collections.SynchronizedNavigableMap 3658 public Set<K> keySet() { return m.keySet(); } method in class:Collections.CheckedMap 4165 public NavigableSet<K> keySet() { method in class:Collections.CheckedNavigableMap 4627 public Set<K> keySet() {return emptySet();} method in class:Collections.EmptyMap 4927 private transient Set<K> keySet; field in class:Collections.SingletonMap 4931 public Set<K> keySet() { method in class:Collections.SingletonMap [all...] |
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentNavigableMap.java | 150 NavigableSet<K> keySet(); method in interface:ConcurrentNavigableMap
|
H A D | ConcurrentSkipListMap.java | 378 private transient KeySet<K,V> keySet; field in class:ConcurrentSkipListMap 392 keySet = null; 1829 public NavigableSet<K> keySet() { method in class:ConcurrentSkipListMap 1830 KeySet<K,V> ks = keySet; 1831 return (ks != null) ? ks : (keySet = new KeySet<>(this)); 1835 KeySet<K,V> ks = keySet; 1836 return (ks != null) ? ks : (keySet = new KeySet<>(this)); 3051 public NavigableSet<K> keySet() { method in class:ConcurrentSkipListMap.SubMap
|
H A D | ConcurrentHashMap.java | 133 * (using {@link #keySet(Object)} when only keys are of interest, and the 821 private transient KeySetView<K,V> keySet; field in class:ConcurrentHashMap 1245 public Set<K> keySet() { method in class:ConcurrentHashMap 1247 return (ks = keySet) != null ? ks : (keySet = new KeySetView<K,V>(this, null)); 2142 * @see #keySet() 2220 public KeySetView<K,V> keySet(V mappedValue) { method in class:ConcurrentHashMap 4589 * See {@link #keySet(Object) keySet(V)},
|
/libcore/ojluni/src/main/java/sun/util/resources/ |
H A D | OpenListResourceBundle.java | 97 return lookup.keySet(); 101 public Set<String> keySet() { method in class:OpenListResourceBundle 108 ks.addAll(parent.keySet());
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_MapTest.java | 56 // keySet() 57 testKeySet(modifiableMap.keySet(), unmodifiableMap.keySet()); 96 private static void testKeySet(Set<String> referenceKeySet, Set<String> keySet) { argument 97 // keySet should be a set of the strings "0" to "99" 99 testKeySetContents(keySet); 104 crossCheckOrdering(referenceKeySet, keySet, String.class); 107 private static void testKeySetContents(Set<String> keySet) { argument 109 assertTrue("should contain \"0\"", keySet.contains("0")); 110 assertTrue("should contain \"50\"", keySet [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | RefSortedMap.java | 282 public Set<K> keySet() { method in class:RefSortedMap 283 return tailMap(firstKey()).keySet();
|
H A D | CollectionsTest.java | 1454 synchMap.keySet().remove(objArray[50].toString()); 1456 "Removing a key from the keySet of the synchronized map did not remove it from the synchronized map: ", 1459 "Removing a key from the keySet of the synchronized map did not remove it from the original map", 1465 // entrySet() / keySet() methods: iterator(), toArray(T[]) and toArray(). See bug 72073. 1577 synchMap.keySet().remove(objArray[50].toString()); 1579 "Removing a key from the keySet of the synchronized map did not remove it from the synchronized map", 1582 "Removing a key from the keySet of the synchronized map did not remove it from the original map", 1760 Iterator iterator = hm.keySet().iterator(); 1884 Iterator i = hm.keySet().iterator(); 2102 Iterator mapIter = map.keySet() 2310 testKeySet(Set<String> referenceKeySet, Set<String> keySet) argument 2321 testKeySetContents(Set<String> keySet) argument [all...] |
/libcore/json/src/main/java/org/json/ |
H A D | JSONObject.java | 658 return nameValuePairs.keySet().iterator(); 671 public Set<String> keySet() { method in class:JSONObject 672 return nameValuePairs.keySet(); 682 : new JSONArray(new ArrayList<String>(nameValuePairs.keySet()));
|
/libcore/ojluni/src/main/java/java/util/jar/ |
H A D | Attributes.java | 244 public Set<Object> keySet() { method in class:Attributes 245 return map.keySet();
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | ProcessEnvironment.java | 248 public Set<String> keySet() { method in class:ProcessEnvironment.StringEnvironment 249 return new StringKeySet(m.keySet());
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | Provider.java | 293 public Set<Object> keySet() { method in class:Provider 295 return Collections.unmodifiableSet(super.keySet());
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | R.java | 1782 public static final int keySet = 0; field in class:R
|