- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 359 for EntrySet (0.05 sec)
-
src/main/java/org/codelibs/fess/es/user/exbhv/RoleBhv.java
try { final RESULT result = entityType.newInstance(); result.setName(DfTypeUtil.toString(source.get("name"))); result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(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.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
for (LoadingCache<Object, Object> cache : caches()) { Set<Entry<Object, Object>> entries = cache.asMap().entrySet(); List<Entry<Object, Object>> warmed = warmUp(cache, WARMUP_MIN, WARMUP_MAX); Set<?> expected = Maps.newHashMap(cache.asMap()).entrySet(); assertThat(entries).containsExactlyElementsIn(expected); assertThat(entries.toArray()).asList().containsExactlyElementsIn(expected);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 6.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
} int current = 0; boolean added = false; final Map<Pattern, CrawlerClient> newClientMap = new LinkedHashMap<>(); for (final Map.Entry<Pattern, CrawlerClient> entry : clientMap.entrySet()) { if (pos == current) { newClientMap.put(Pattern.compile(regex), client); added = true; } newClientMap.put(entry.getKey(), entry.getValue());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
used = true; return ae; } }); ImmutableMap<AnEnum, AnEnum> copy = Maps.immutableEnumMap(map); assertThat(copy.entrySet()).containsExactly(mapEntry(AnEnum.A, AnEnum.A)); } public void testEmptyImmutableEnumMap() { ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap(ImmutableMap.<AnEnum, String>of());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableEnumMap.java
static <K extends Enum<K>, V> ImmutableMap<K, V> asImmutable(EnumMap<K, V> map) { switch (map.size()) { case 0: return ImmutableMap.of(); case 1: Entry<K, V> entry = getOnlyElement(map.entrySet()); return ImmutableMap.of(entry.getKey(), entry.getValue()); default: return new ImmutableEnumMap<>(map); } } private final transient EnumMap<K, V> delegate;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java
import java.io.ObjectInputStream; import java.io.Serializable; import java.util.Map.Entry; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * {@code entrySet()} implementation for {@link ImmutableMap}. * * @author Jesse Wilson * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
return removeEntryIf(compose(not(in(c)), Maps.<Range<K>>keyFunction())); } }; } @Override public Set<Entry<Range<K>, V>> entrySet() { return new Maps.EntrySet<Range<K>, V>() { @Override Map<Range<K>, V> map() { return SubRangeMapAsMap.this; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java
} @Override public ImmutableSortedSet<E> elementSet() { return forward.elementSet().descendingSet(); } @Override Entry<E> getEntry(int index) { return forward.entrySet().asList().reverse().get(index); } @Override public ImmutableSortedMultiset<E> descendingMultiset() { return forward; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 2.5K bytes - Viewed (0) -
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)