- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for filterKeys (0.04 sec)
-
android/guava/src/com/google/common/collect/FilteredKeySetMultimap.java
import com.google.common.base.Predicate; import java.util.Map.Entry; import java.util.Set; import org.jspecify.annotations.Nullable; /** * Implementation of {@link Multimaps#filterKeys(SetMultimap, Predicate)}. * * @author Louis Wasserman */ @GwtCompatible final class FilteredKeySetMultimap<K extends @Nullable Object, V extends @Nullable Object>Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ServiceManager.java
throw new TimeoutException( "Timeout waiting for the services to become healthy. The " + "following services have not started: " + Multimaps.filterKeys(servicesByState, in(ImmutableSet.of(NEW, STARTING)))); } checkHealthy(); } finally { monitor.leave(); } } void awaitStopped() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 32.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
throw new TimeoutException( "Timeout waiting for the services to become healthy. The " + "following services have not started: " + Multimaps.filterKeys(servicesByState, in(ImmutableSet.of(NEW, STARTING)))); } checkHealthy(); } finally { monitor.leave(); } } void awaitStopped() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 33.2K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
*/ package com.google.common.collect; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.collect.Multimaps.filterKeys; import static com.google.common.collect.Multimaps.synchronizedListMultimap; import static com.google.common.collect.Multimaps.synchronizedMultimap; import static com.google.common.collect.Multimaps.synchronizedSetMultimap;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 38.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
public static <K extends @Nullable Object, V extends @Nullable Object> Multimap<K, V> filterKeys( Multimap<K, V> unfiltered, Predicate<? super K> keyPredicate) { if (unfiltered instanceof SetMultimap) { return filterKeys((SetMultimap<K, V>) unfiltered, keyPredicate); } else if (unfiltered instanceof ListMultimap) { return filterKeys((ListMultimap<K, V>) unfiltered, keyPredicate);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 86.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
* Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. */ public static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> filterKeys( Map<K, V> unfiltered, Predicate<? super K> keyPredicate) { checkNotNull(keyPredicate); Predicate<Entry<K, ?>> entryPredicate = keyPredicateOnEntries(keyPredicate);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
* Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. */ public static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> filterKeys( Map<K, V> unfiltered, Predicate<? super K> keyPredicate) { checkNotNull(keyPredicate); Predicate<Entry<K, ?>> entryPredicate = keyPredicateOnEntries(keyPredicate);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 157.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} })); assertEquals(newArrayList("a", "c", "e"), list); } // The Maps returned by Maps.filterEntries(), Maps.filterKeys(), and // Maps.filterValues() are not tested with removeIf() since Maps are not // Iterable. Those returned by Iterators.filter() and Iterables.filter() // are not tested because they are unmodifiable.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 45.6K bytes - Viewed (0)