- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 128 for predicate (0.03 sec)
-
guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
} }; } private static final ImmutableMultiset<String> ELEMENTS_TO_FILTER_OUT = ImmutableMultiset.of("foobar", "bazfoo", "foobar", "foobar"); private static final Predicate<String> PREDICATE = not(Predicates.in(ELEMENTS_TO_FILTER_OUT)); private static TestStringMultisetGenerator filteredGenerator() { return new TestStringMultisetGenerator() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java
* @author Jared Levy */ @GwtIncompatible(value = "untested") @NullUnmarked public class MultimapsFilterEntriesAsMapTest extends AbstractMultimapAsMapImplementsMapTest { private static final Predicate<Entry<String, Integer>> PREDICATE = new Predicate<Entry<String, Integer>>() { @Override public boolean apply(Entry<String, Integer> entry) { return !Objects.equals(entry.getKey(), "badkey") && entry.getValue() != 55556;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
/** * A predicate that matches classes with an underscore in the class name. This can be used with * {@link #ignoreClasses} to exclude generated classes, such as the {@code AutoValue_Foo} classes * generated by <a href="https://github.com/google/auto/tree/master/value">AutoValue</a>. * * @since 19.0 */ public static final Predicate<Class<?>> UNDERSCORE_IN_NAME =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsFilterNavigableSetTest.java
return Sets.newTreeSet(contents); } @Override NavigableSet<Integer> filter( NavigableSet<Integer> elements, Predicate<? super Integer> predicate) { return Sets.filter(elements, predicate); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) { checkNotNull(expectedThrowable); checkNotNull(supplier); Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable); if (predicate == null) { throw new IllegalArgumentException( expectedThrowable + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java
Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) { checkNotNull(expectedThrowable); checkNotNull(supplier); Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable); if (predicate == null) { throw new IllegalArgumentException( expectedThrowable + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsFilterHashSetTest.java
Registered: Fri Sep 05 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/cache/ReflectionFreeAssertThrows.java
Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) { checkNotNull(expectedThrowable); checkNotNull(supplier); Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable); if (predicate == null) { throw new IllegalArgumentException( expectedThrowable + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
android/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; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (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 */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 2.1K bytes - Viewed (0)