- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 132 for predicate (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/IterablesFilterArrayListTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
final Collection<E> unfiltered; final Predicate<? super E> predicate; FilteredCollection(Collection<E> unfiltered, Predicate<? super E> predicate) { this.unfiltered = unfiltered; this.predicate = predicate; } FilteredCollection<E> createCombined(Predicate<? super E> newPredicate) { return new FilteredCollection<>(unfiltered, Predicates.and(predicate, newPredicate)); } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
return ((Collection<T>) removeFrom).removeIf(predicate); } return Iterators.removeIf(removeFrom.iterator(), predicate); } /** Removes and returns the first matching element, or returns {@code null} if there is none. */ static <T extends @Nullable Object> @Nullable T removeFirstMatching( Iterable<T> removeFrom, Predicate<? super T> predicate) { checkNotNull(predicate);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 43.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
import static com.google.common.collect.Multimaps.filterValues; import static java.util.Arrays.asList; import com.google.common.annotations.GwtIncompatible; import com.google.common.base.Predicate; import java.util.Map.Entry; import java.util.Objects; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Multimaps} filtering methods. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
Iterable<T> iterable, Predicate<? super T> predicate) { return Iterators.find(iterable.iterator(), predicate); } /** * Returns the first element in {@code iterable} that satisfies the given predicate, or {@code * defaultValue} if none found. Note that this can usually be handled more naturally using {@code * tryFind(iterable, predicate).or(defaultValue)}. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 18:35:28 UTC 2025 - 43.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
Predicate<E> combinedPredicate = Predicates.and(filtered.predicate, predicate); return new FilteredSet<>((Set<E>) filtered.unfiltered, combinedPredicate); } return new FilteredSet<>(checkNotNull(unfiltered), checkNotNull(predicate)); } /** * Returns the elements of a {@code SortedSet}, {@code unfiltered}, that satisfy a predicate. The
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
extends ViewCachingAbstractMap<K, V> { final Map<K, V> unfiltered; final Predicate<? super Entry<K, V>> predicate; AbstractFilteredMap(Map<K, V> unfiltered, Predicate<? super Entry<K, V>> predicate) { this.unfiltered = unfiltered; this.predicate = predicate; } boolean apply(@Nullable Object key, @ParametricNullness V value) {
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
extends ViewCachingAbstractMap<K, V> { final Map<K, V> unfiltered; final Predicate<? super Entry<K, V>> predicate; AbstractFilteredMap(Map<K, V> unfiltered, Predicate<? super Entry<K, V>> predicate) { this.unfiltered = unfiltered; this.predicate = predicate; } boolean apply(@Nullable Object key, @ParametricNullness V value) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 157.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
} /** * Waits until the given predicate returns true, invoking the garbage collector as necessary to * try to ensure that this will happen. * * @throws RuntimeException if timed out or interrupted while waiting */ @SuppressWarnings("removal") // b/260137033 public static void awaitDone(FinalizationPredicate predicate) { if (predicate.isDone()) { return; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0)