- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 207 for KeySet (0.03 sec)
-
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
multimapView.remove("bar", 2); assertFalse(multimapView.containsKey("bar")); assertFalse(map.containsKey("bar")); assertEquals(map.keySet(), multimapView.keySet()); assertEquals(map.keySet(), multimapView.keys().elementSet()); assertThat(multimapView.keys()).contains("foo"); assertThat(multimapView.values()).contains(1);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 38.9K bytes - Viewed (0) -
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}, andRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 27K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java
assertThat(table.rowKeySet()).containsExactly("foo", "bar").inOrder(); } public void testRowOrdering() { table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c'); assertThat(table.row("foo").keySet()).containsExactly(2, 3).inOrder(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
} /** * Returns a Set view of the keys contained in this map. * * @return a set view of the keys contained in this map */ @Override public Set<String> keySet() { return parent.keySet(); } /** * Returns a Collection view of the values contained in this map. * * @return a collection view of the values contained in this map */ @OverrideRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java
*/ public CaseInsensitiveSet(final int initialCapacity) { map = new CaseInsensitiveMap<>(initialCapacity); } @Override public Iterator<String> iterator() { return map.keySet().iterator(); } @Override public int size() { return map.size(); } @Override public boolean isEmpty() { return map.isEmpty(); } @OverrideRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.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)); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.2K bytes - Viewed (0) -
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)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (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
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
assertThrows(UnsupportedOperationException.class, () -> map.tailMap("a").keySet().add("a")); assertThrows(UnsupportedOperationException.class, () -> map.headMap("r").keySet().add("a")); assertThrows( UnsupportedOperationException.class, () -> map.headMap("r").tailMap("m").keySet().add("a")); } public void testAsMapSortedEmpty() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.4K bytes - Viewed (0)