- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 169 for entrySet (0.06 sec)
-
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
int idx = 0; for (Entry<K, V> e : map.entrySet()) { entries[idx++] = new SimpleImmutableEntry<>(e.getKey(), e.getValue()); } } else { entries = new Object[0]; } } @Override public Set<Entry<K, V>> entrySet() { return new AbstractImmutableSet<>() { @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jul 07 11:47:42 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
assertEquals(2, keys.count(k0())); assertEquals(1, keys.count(k1())); assertEquals(3, keys.size()); assertContainsAllOf(keys, k0(), k1()); assertContainsAllOf( keys.entrySet(), Multisets.immutableEntry(k0(), 2), Multisets.immutableEntry(k1(), 1)); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testKeysCountAbsentNullKey() { assertEquals(0, multimap().keys().count(null));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
*/ ALLOWS_NULL_VALUE_QUERIES, ALLOWS_NULL_VALUES(ALLOWS_NULL_VALUE_QUERIES), /** * The map does not throw {@code NullPointerException} on calls such as {@code * entrySet().contains(null)} or {@code entrySet().remove(null)} */ ALLOWS_NULL_ENTRY_QUERIES, /** * The map does not throw {@code NullPointerException} on any {@code null} queries. * * @see #ALLOWS_NULL_KEY_QUERIES
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
List<Entry<V, K>> reversedEntries = new ArrayList<>(); for (Entry<K, V> entry : expected) { reversedEntries.add(reverseEntry(entry)); } assertEqualIgnoringOrder(getMap().inverse().entrySet(), reversedEntries); for (Entry<K, V> entry : expected) { assertEquals( "Wrong key for value " + entry.getValue(), entry.getKey(), getMap().inverse().get(entry.getValue()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
final HttpServletRequest req = (HttpServletRequest) request; final String servletPath = req.getServletPath(); for (final Map.Entry<String, String> entry : encodingMap.entrySet()) { final String path = entry.getKey(); if (servletPath.startsWith(path)) { req.setCharacterEncoding(entry.getValue());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
map.remove("bar"); assertThat(map.entrySet()) .containsExactly(immutableEntry("foo", 1), immutableEntry("quux", 3)) .inOrder(); } public void testInsertionOrderAfterRemoveLast() { BiMap<String, Integer> map = HashBiMap.create(); map.put("foo", 1); map.put("bar", 2); map.put("quux", 3); map.remove("quux"); assertThat(map.entrySet())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java
} /** * A sensible definition of {@link #firstEntry()} in terms of {@code entrySet().iterator()}. * * <p>If you override {@link #entrySet()}, you may wish to override {@link #firstEntry()} to * forward to this implementation. */ protected @Nullable Entry<E> standardFirstEntry() { Iterator<Entry<E>> entryIterator = entrySet().iterator(); if (!entryIterator.hasNext()) { return null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java
// TODO: can these be moved to MapInterfaceTest? for (Entry<K, V> entry : map.entrySet()) { assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString()); } assertEquals("{" + JOINER.join(map.entrySet()) + "}", map.toString()); assertEquals("[" + JOINER.join(map.entrySet()) + "]", map.entrySet().toString()); assertEquals("[" + JOINER.join(map.keySet()) + "]", map.keySet().toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java
// TODO: can these be moved to MapInterfaceTest? for (Entry<K, V> entry : map.entrySet()) { assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString()); } assertEquals("{" + JOINER.join(map.entrySet()) + "}", map.toString()); assertEquals("[" + JOINER.join(map.entrySet()) + "]", map.entrySet().toString()); assertEquals("[" + JOINER.join(map.keySet()) + "]", map.keySet().toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2K bytes - Viewed (0)