- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 78 for immutableEntry (1.63 sec)
-
guava/src/com/google/common/collect/StandardTable.java
while (iterator.hasNext()) { Entry<R, Map<C, V>> entry = iterator.next(); Map<C, V> map = entry.getValue(); V value = map.get(columnKey); if (value != null && predicate.apply(Maps.immutableEntry(entry.getKey(), value))) { map.remove(columnKey); changed = true; if (map.isEmpty()) { iterator.remove(); } } } return changed;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 30.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Object value = cache.getUnchecked(key); entries.add(entryOf(key, value)); } return entries; } private Entry<Object, Object> entryOf(Object key, Object value) { return Maps.immutableEntry(key, value); } private void assertMapSize(Map<?, ?> map, int size) { assertEquals(size, map.size()); if (size > 0) { assertFalse(map.isEmpty()); } else {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 15K bytes - Viewed (0) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
} Map.Entry<E, AtomicInteger> mapEntry = mapEntries.next(); int count = mapEntry.getValue().get(); if (count != 0) { return Multisets.immutableEntry(mapEntry.getKey(), count); } } } }; return new ForwardingIterator<Entry<E>>() { @CheckForNull private Entry<E> last; @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 20.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
addAll(set, elements); return set; } public static <E extends @Nullable Object> Set<E> copyToSet(E[] elements) { return copyToSet(Arrays.asList(elements)); } // Would use Maps.immutableEntry public static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> mapEntry( K key, V value) { return Collections.singletonMap(key, value).entrySet().iterator().next(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
} Map.Entry<E, AtomicInteger> mapEntry = mapEntries.next(); int count = mapEntry.getValue().get(); if (count != 0) { return Multisets.immutableEntry(mapEntry.getKey(), count); } } } }; return new ForwardingIterator<Entry<E>>() { @CheckForNull private Entry<E> last; @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 20.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashBiMap.java
HashBiMap<K, V> bimap = create(map.size()); bimap.putAll(map); return bimap; } static final class BiEntry<K extends @Nullable Object, V extends @Nullable Object> extends ImmutableEntry<K, V> { final int keyHash; final int valueHash; // All BiEntry instances are strongly reachable from owning HashBiMap through // "HashBiMap.hashTableKToV" and "BiEntry.nextInKToVBucket" references.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 24.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
*/ @GwtCompatible(serializable = true) public static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> immutableEntry( @ParametricNullness K key, @ParametricNullness V value) { return new ImmutableEntry<>(key, value); } /** * Returns an unmodifiable view of the specified set of entries. The {@link Entry#setValue}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 165.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
addAll(set, elements); return set; } public static <E extends @Nullable Object> Set<E> copyToSet(E[] elements) { return copyToSet(Arrays.asList(elements)); } // Would use Maps.immutableEntry public static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> mapEntry( K key, V value) { return Collections.singletonMap(key, value).entrySet().iterator().next(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
* whole. */ @VisibleForTesting static final class ValueEntry<K extends @Nullable Object, V extends @Nullable Object> extends ImmutableEntry<K, V> implements ValueSetLink<K, V> { final int smearedValueHash; @CheckForNull ValueEntry<K, V> nextInValueBucket; /*
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 23.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedHashMultimap.java
* whole. */ @VisibleForTesting static final class ValueEntry<K extends @Nullable Object, V extends @Nullable Object> extends ImmutableEntry<K, V> implements ValueSetLink<K, V> { final int smearedValueHash; @CheckForNull ValueEntry<K, V> nextInValueBucket; /*
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 24.3K bytes - Viewed (0)