- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 275 for keySet (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java
return values().asList().get(index + 1); }); List<Entry<K, V>> orderedEntries = getOrderedElements(); int index = 0; for (K key : getMap().keySet()) { assertEquals(orderedEntries.get(index).getKey(), key); index++; } } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
@Override Object writeReplace() { return super.writeReplace(); } } static final class KeySet<K> extends ImmutableSet<K> { private final transient ImmutableMap<K, ?> map; private final transient ImmutableList<K> list; KeySet(ImmutableMap<K, ?> map, ImmutableList<K> list) { this.map = map; this.list = list; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
return delegate; } @Override public Set<K> keySet() { return new ForwardingSet<K>() { @Override protected Set<K> delegate() { return delegate.keySet(); } @Override public Iterator<K> iterator() { return Iterators.unmodifiableIterator(delegate.keySet().iterator()); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java
@CollectionSize.Require(SEVERAL) public void testClearConcurrentWithKeySetIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<K> iterator = getMap().keySet().iterator(); getMap().clear(); iterator.next(); }); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE}) @CollectionSize.Require(SEVERAL)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractNavigableMap.java
return tailMap(fromKey, true); } @Override public NavigableSet<K> navigableKeySet() { return new Maps.NavigableKeySet<>(this); } @Override public Set<K> keySet() { return navigableKeySet(); } @Override public NavigableSet<K> descendingKeySet() { return descendingMap().navigableKeySet(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java
ImmutableSortedMap.Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder(); for (int i = 0; i < elements.length; i++) { builder.put(elements[i], i); } return builder.build().keySet().asList(); } @Override public List<String> order(List<String> insertionOrder) { return Ordering.<String>natural().sortedCopy(insertionOrder); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 4.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java
assertEquals(3, multimap().size()); assertEquals(3, multimap().entries().size()); assertEquals(3, multimap().keys().size()); assertEquals(1, multimap().keySet().size()); assertEquals(1, multimap().asMap().size()); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java
return standardEquals(object); } @Override public int hashCode() { return standardHashCode(); } @Override public Set<K> keySet() { return new StandardKeySet(); } @Override public Collection<V> values() { return new StandardValues(); } @Override public String toString() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 7.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
} assertEquals(values.size(), multimap().get(key).size()); assertEquals(values.size() > 0, multimap().containsKey(key)); assertEquals(values.size() > 0, multimap().keySet().contains(key)); assertEquals(values.size() > 0, multimap().keys().contains(key)); } protected final K k0() { return e0().getKey(); } protected final V v0() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
* order to {@code [key2, key1]}. The {@link #entries()} iterator returns mutable map entries, and * {@link #replaceValues} attempts to preserve iteration order as much as possible. * * <p>The collections returned by {@link #keySet()} and {@link #asMap()} iterate through the keys in * the order they were first added to the multimap. Similarly, {@link #get}, {@link #removeAll}, andCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 26.6K bytes - Click Count (0)