- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 159 for predicate (0.06 seconds)
-
android/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; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterators.java
* {@code predicate}. * * @since 2.0 */ public static <T extends @Nullable Object> int indexOf( Iterator<T> iterator, Predicate<? super T> predicate) { checkNotNull(predicate, "predicate"); for (int i = 0; iterator.hasNext(); i++) { T current = iterator.next(); if (predicate.apply(current)) { return i; } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
multimap.put("bar", 32); multimap.put("foo", 16); return filterKeys(multimap, not(Predicates.in(ImmutableSet.of("foo", "bar")))); } }) .named("Multimaps.filterKeys[SetMultimap, Predicate]") .withFeatures( CollectionSize.ANY, MultimapFeature.VALUE_COLLECTIONS_SUPPORT_ITERATOR_REMOVE,
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Sep 24 22:52:18 GMT 2025 - 28.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 34.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IterablesFilterArrayListTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.2K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
import java.util.List; import java.util.Map; import java.util.NoSuchElementException; import java.util.Set; import java.util.function.BiFunction; import java.util.function.Function; import java.util.function.Predicate; /** * This should be removed when https://bugs.openjdk.org/browse/JDK-8323729 * is released in our minimum JDK. */ class ImmutableCollections {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Jul 07 11:47:42 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java
return Lists.newArrayList(contents); } @Override Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) { return Collections2.filter(elements, predicate); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimaps.java
SetMultimap<K, V> filterFiltered( FilteredSetMultimap<K, V> multimap, Predicate<? super Entry<K, V>> entryPredicate) { Predicate<Entry<K, V>> predicate = Predicates.and(multimap.entryPredicate(), entryPredicate); return new FilteredEntrySetMultimap<>(multimap.unfiltered(), predicate); } static boolean equalsImpl(Multimap<?, ?> multimap, @Nullable Object object) { if (object == multimap) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 86.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredKeySetMultimap.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; 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 */ @GwtCompatibleCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
*/ @NullUnmarked public final class FilteredCollectionsTestUtil { private static final Predicate<Integer> EVEN = new Predicate<Integer>() { @Override public boolean apply(Integer input) { return input % 2 == 0; } }; private static final Predicate<Integer> PRIME_DIGIT = Predicates.in(ImmutableSet.of(2, 3, 5, 7));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 13.1K bytes - Click Count (0)