- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 186 for predicates (0.07 seconds)
-
guava/src/com/google/common/collect/CollectSpliterators.java
} }; } /** Returns a {@code Spliterator} filtered by the specified predicate. */ static <T extends @Nullable Object> Spliterator<T> filter( Spliterator<T> fromSpliterator, Predicate<? super T> predicate) { checkNotNull(fromSpliterator); checkNotNull(predicate); final class Splitr implements Spliterator<T>, Consumer<T> { @Nullable T holder = null;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 19.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectSpliterators.java
} }; } /** Returns a {@code Spliterator} filtered by the specified predicate. */ static <T extends @Nullable Object> Spliterator<T> filter( Spliterator<T> fromSpliterator, Predicate<? super T> predicate) { checkNotNull(fromSpliterator); checkNotNull(predicate); @IgnoreJRERequirement // see earlier comment about redundancyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 20.5K bytes - Click Count (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",
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
} @Override public final boolean removeAll(Collection<?> oldElements) { throw new UnsupportedOperationException(); } @Override public final boolean removeIf(Predicate<? super E> predicate) { throw new UnsupportedOperationException(); } @Override public final boolean retainAll(Collection<?> elementsToKeep) { throw new UnsupportedOperationException(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 5.1K 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 2.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredMultimap.java
import com.google.common.base.Predicate; import java.util.Map.Entry; import org.jspecify.annotations.Nullable; /** * An interface for all filtered multimap types. * * @author Louis Wasserman */ @GwtCompatible interface FilteredMultimap<K extends @Nullable Object, V extends @Nullable Object> extends Multimap<K, V> { Multimap<K, V> unfiltered(); Predicate<? super Entry<K, V>> entryPredicate();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FilteredKeyListMultimap.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Predicate; import java.util.List; import org.jspecify.annotations.Nullable; /** * Implementation of {@link Multimaps#filterKeys(ListMultimap, Predicate)}. * * @author Louis Wasserman */ @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.7K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
} private static class Relocation { private final Predicate<Artifact> predicate; private final boolean global; private final Artifact source; private final Artifact target; private Relocation(boolean global, Artifact source, Artifact target) { this.predicate = artifactPredicate(source); this.global = global; this.source = source;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
private fun hasAttribute(ctClass: CtClass, predicate: AttributePredicate): Boolean = queryKotlinMetadata(ctClass) { metadata -> metadata.hasAttribute(MemberType.TYPE, ctClass.name, predicate) } private fun hasAttribute(ctMember: CtMember, predicate: AttributePredicate): Boolean = queryKotlinMetadata(ctMember.declaringClass) { metadata ->Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jul 04 09:21:38 GMT 2025 - 4.8K bytes - Click Count (0)