- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 158 for Predicate (0.24 sec)
-
guava-tests/test/com/google/common/util/concurrent/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 24 13:42:31 UTC 2024 - 35.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
import com.google.common.base.Predicate; import java.util.Map.Entry; import junit.framework.TestCase; /** * Unit tests for {@link Multimaps} filtering methods. * * @author Jared Levy */ @GwtIncompatible // nottested public class FilteredMultimapTest extends TestCase { private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE = new Predicate<Entry<String, Integer>>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntrySetMultimap.java
extends FilteredEntryMultimap<K, V> implements FilteredSetMultimap<K, V> { FilteredEntrySetMultimap(SetMultimap<K, V> unfiltered, Predicate<? super Entry<K, V>> predicate) { super(unfiltered, predicate); } @Override public SetMultimap<K, V> unfiltered() { return (SetMultimap<K, V>) unfiltered; } @Override public Set<V> get(@ParametricNullness K key) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesFilterArrayListTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 16 21:55:55 UTC 2022 - 1.1K bytes - Viewed (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); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 16 21:55:55 UTC 2022 - 1.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredMultimap.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Predicate; import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; /** * An interface for all filtered multimap types. * * @author Louis Wasserman */ @GwtCompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 1.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.2K bytes - Viewed (0)