- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 119 for predicate (0.06 sec)
-
guava/src/com/google/common/base/Predicate.java
/** * Legacy version of {@link java.util.function.Predicate java.util.function.Predicate}. Determines a * true or false value for a given input. * * <p>As this interface extends {@code java.util.function.Predicate}, an instance of this type may * be used as a {@code Predicate} directly. To use a {@code java.util.function.Predicate} where a * {@code com.google.common.base.Predicate} is expected, use the method reference {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 15:22:00 UTC 2025 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
<T extends @Nullable Object> Predicate<T> withNarrowedType() { return (Predicate<T>) this; } } /** * @see Predicates#not(Predicate) */ private static final class NotPredicate<T extends @Nullable Object> implements Predicate<T>, Serializable { final Predicate<T> predicate; NotPredicate(Predicate<T> predicate) { this.predicate = checkNotNull(predicate); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/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/collect/AbstractFilteredMapTest.java
Map<String, Integer> unfiltered = createUnfiltered(); unfiltered.put("cat", 3); unfiltered.put("dog", 2); unfiltered.put("horse", 5); Predicate<Object> predicate = Predicates.alwaysFalse(); Map<String, Integer> filtered = Maps.filterEntries(unfiltered, predicate); assertTrue(filtered.isEmpty()); } public void testFilteredEntriesWildCardEntryPredicate() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
List<String> list = new ArrayList<>(); Predicate<String> predicate = equalTo("pants"); assertFalse(any(list, predicate)); list.add("cool"); assertFalse(any(list, predicate)); list.add("pants"); assertTrue(any(list, predicate)); } public void testAll() { List<String> list = new ArrayList<>(); Predicate<String> predicate = equalTo("cool");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/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/io/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) -
android/guava-tests/test/com/google/common/collect/IterablesFilterArrayListTest.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-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
assertTrue(collection.removeIf(Predicate.isEqual(samples.e0()))); iterator.next(); }); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRemoveIf_unsupportedEmptyCollection() { try { assertFalse( "removeIf(Predicate) should return false or throw UnsupportedOperationException",
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
this.unfiltered = checkNotNull(unfiltered); this.predicate = checkNotNull(predicate); } @Override public Multimap<K, V> unfiltered() { return unfiltered; } @Override public Predicate<? super Entry<K, V>> entryPredicate() { return predicate; } @Override public int size() { return entries().size(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0)