- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 361 for entrySet (0.05 sec)
-
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertEquals(0, map.size()); cache.getUnchecked(one); Map<Object, Object> newMap = ImmutableMap.of(one, one); assertEquals(newMap, map); assertEquals(newMap.entrySet(), map.entrySet()); assertEquals(newMap.keySet(), map.keySet()); Set<Object> expectedValues = ImmutableSet.of(one); Set<Object> actualValues = ImmutableSet.copyOf(map.values());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
throw new UnsupportedOperationException("Please use putInstance() instead."); } @Override public Set<Entry<TypeToken<? extends @NonNull B>, B>> entrySet() { return UnmodifiableEntry.transformEntries(super.entrySet()); } @Override protected Map<TypeToken<? extends @NonNull B>, B> delegate() { return backingMap; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java
result.setGroups(toStringArray(source.get(GROUPS))); result.setRoles(toStringArray(source.get(ROLES))); result.setAttributes(source.entrySet().stream().filter(e -> isAttribute(e.getKey())) .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond))); return result;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 20.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
assertThat(cache.asMap().values()).containsExactly(value1, value2); assertEquals( ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)), cache.asMap().entrySet()); } } public void testInvalidate() { for (LoadingCache<Key, String> cache : caches()) { Key key1 = new Key(1); String value1 = key1.toString(); Key key2 = new Key(2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
ImmutableSet<Entry<K, V>> result = entries; return result == null ? (entries = new EntrySet<>(this)) : result; } private static final class EntrySet<K, V> extends ImmutableSet<Entry<K, V>> { @Weak private final transient ImmutableSetMultimap<K, V> multimap; EntrySet(ImmutableSetMultimap<K, V> multimap) { this.multimap = multimap; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 25.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
// Test asMap().entrySet() assertSetIsUnmodifiable( multimap.asMap().entrySet(), immutableEntry(sampleKey, sampleValueAsCollection)); // Test #values() assertMultimapRemainsUnmodified(multimap, originalEntries); if (!multimap.isEmpty()) { Collection<V> values = multimap.asMap().entrySet().iterator().next().getValue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 14.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
assertEquals( ImmutableList.copyOf(subRangeMap.asMapOfRanges().entrySet()).reverse(), ImmutableList.copyOf(subRangeMap.asDescendingMapOfRanges().entrySet())); if (!expected.asMapOfRanges().isEmpty()) { assertEquals(expected.span(), subRangeMap.span()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Oct 06 13:04:03 UTC 2024 - 29.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
assertEquals( "multiset.count() should return the value passed to setCount()", count, getMultiset().count(element)); int size = 0; for (Multiset.Entry<E> entry : getMultiset().entrySet()) { size += entry.getCount(); } assertEquals( "multiset.size() should be the sum of the counts of all entries", size, getMultiset().size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 13K bytes - Viewed (0)