- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 429 for getKeys (0.05 seconds)
-
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
Map<String, String> map = new LinkedHashMap<>(); for (Entry<String, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return new StandardImplForwardingMap<>(map); } })
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
public Builder<K, V> putAll(Multimap<? extends K, ? extends V> multimap) { for (Entry<? extends K, ? extends Collection<? extends V>> entry : multimap.asMap().entrySet()) { putAll(entry.getKey(), entry.getValue()); } return this; } @CanIgnoreReturnValue @Override Builder<K, V> combine(ImmutableMultimap.Builder<K, V> other) { super.combine(other);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveMap.java
} @Override public void putAll(final Map<? extends String, ? extends V> map) { for (final Map.Entry<? extends String, ? extends V> entry : map.entrySet()) { put(convertKey(entry.getKey()), entry.getValue()); } } @Override public final V remove(final Object key) { return super.remove(convertKey(key)); } @OverrideCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2.2K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java
elementStack.addFirst(name); visitor.onStartHtmlElement(name); for (Map.Entry<String, String> entry : attributes.entrySet()) { visitor.onHtmlElementAttribute(entry.getKey(), entry.getValue()); } attributes.clear(); visitor.onStartHtmlElementComplete(name); } @Override public void onEndHtmlElement(String name) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 5.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
for (RemovalNotification<String, String> notification : listener) { removalNotifications.put(notification.getKey(), notification.getValue()); assertWithMessage("Unexpected key/value pair passed to removalListener") .that(notification.getValue()) .isEqualTo(notification.getKey()); } // All of the seed values should have been visible, so we should have gotten removal
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
for (RemovalNotification<String, String> notification : listener) { removalNotifications.put(notification.getKey(), notification.getValue()); assertWithMessage("Unexpected key/value pair passed to removalListener") .that(notification.getValue()) .isEqualTo(notification.getKey()); } // All of the seed values should have been visible, so we should have gotten removal
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder(); for (Entry<String, String> entry : entries) { builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } } @J2ktIncompatible @AndroidIncompatible // test-suite builders public static class ImmutableListMultimapCopyOfEntriesGenerator
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 26.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/DenseImmutableTable.java
} abstract ImmutableMap<K, Integer> keyToIndex(); // True if getValue never returns null. private boolean isFull() { return size == keyToIndex().size(); } K getKey(int index) { return keyToIndex().keySet().asList().get(index); } abstract @Nullable V getValue(int keyIndex); @Override ImmutableSet<K> createKeySet() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashMap.java
if (delegate != null) { return delegate.entrySet().contains(o); } else if (o instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) o; int index = indexOf(entry.getKey()); return index != -1 && Objects.equals(value(index), entry.getValue()); } return false; } @Override public boolean remove(@Nullable Object o) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 39.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java
public void testPutDuplicateValue() { List<Entry<K, V>> entries = copyToList(multimap().entries()); for (Entry<K, V> entry : entries) { resetContainer(); K k = entry.getKey(); V v = entry.getValue(); Set<V> values = multimap().get(k); Set<V> expectedValues = copyToSet(values); assertFalse(multimap().put(k, v)); assertEquals(expectedValues, values);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.8K bytes - Click Count (0)