Uses of Interface
org.eclipse.collections.api.block.predicate.Predicate
Packages that use Predicate
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for Bag API.
This package contains interfaces for SortedBag API.
This package contains interfaces for BiMap API.
This package contains interfaces for list API which enhance the performance and functionality of
List
.This package contains interfaces for map API which enhance the performance and functionality of
Map
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
This package contains mutable and immutable sorted map interfaces.
This package contains interfaces for set API which enhance the performance and functionality of
Set
.This package contains interfaces for sorted set API.
This package contains interfaces for stack API.
This package contains implementations for Eclipse Collections API.
This package contains implementations of the
ImmutableBag
interface.This package contains implementations of the
MutableBag
interface.This package contains implementations of
MutableSortedBag
.This package contains implementations of the
MutableBiMap
interface.This package contains factory implementations for
Function
, Predicate
, SerializableComparator
and Procedure
.This package contains implementations of
Predicate
and Predicate2
.This package contains abstract implementations of
Predicate
and Predicate2
.This package contains implementations of
Procedure
and Procedure2
.This package contains implementations of the
MutableCollection
interface.This package contains implementations which has several parallel algorithms that work with Collections and make use of Java's fork-join
framework.
This package contains implementations of the
LazyIterable
interface.This package contains implementations of the
Iterator
interface.This package contains implementations of the lazy primitive iterator interfaces.
This package contains implementations of the
ListIterable
interface.This package contains implementations of the
FixedSizeList
interface.This package contains implementations of the
MutableList
interface.This package contains implementations of the
MapIterable
interface.This package contains implementations of the
ImmutableMap
interface.This package contains implementations of the
MutableMap
interface.This package contains implementations of the mutable primitive-primitive, primitive-object and object-primitive map interfaces.
This package contains implementations of the
MutableSortedMap
interface.This package contains implementations of the
MutableSortedMap
interface.This package contains classes which is used for parallel iteration through the containers.
This package contains implementations of the
PartitionStack
interface.This package package contains the implementations of
ImmutableSet
.This package package contains implementations of
MutableSet
.This package contains implementations of
MutableSortedSet
.This package contains implementations of sets with user defined
HashingStrategy
s.This package contains implementations of the
MutableStack
interface.This package contains
SerializeTestHelper
and Verify
classes.This package contains static utilities that provide iteration pattern implementations which work with JCF collections.
This package contains static utilities that provide internal iteration pattern implementations which work with JCF collections.
-
Uses of Predicate in org.eclipse.collections.api
Methods in org.eclipse.collections.api with parameters of type PredicateModifier and TypeMethodDescriptionboolean
ParallelIterable.allSatisfy
(Predicate<? super T> predicate) boolean
RichIterable.allSatisfy
(Predicate<? super T> predicate) Returns true if the predicate evaluates to true for every element of the iterable or if the iterable is empty.boolean
ParallelIterable.anySatisfy
(Predicate<? super T> predicate) boolean
RichIterable.anySatisfy
(Predicate<? super T> predicate) Returns true if the predicate evaluates to true for any element of the iterable.<V> LazyIterable<V>
Creates a deferred iterable for selecting and collecting elements from the current iterable.<V> ParallelIterable<V>
ParallelIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) Creates a parallel iterable for selecting and collecting elements from the current iterable.<V> RichIterable<V>
Returns a new collection with the results of applying the specified function on each element of the source collection, but only for those elements which return true upon evaluation of the predicate.<V,
R extends Collection<V>>
RRichIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) Same as the collectIf method with two parameters but uses the specified target collection for the results.int
int
Return the total number of elements that answer true to the specified predicate.Returns the first element of the iterable for which the predicate evaluates to true or null in the case where no element returns true.ParallelIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) default T
RichIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) Returns the first element of the iterable for which the predicate evaluates to true.RichIterable.detectOptional
(Predicate<? super T> predicate) Returns the first element of the iterable for which the predicate evaluates to true as an Optional.boolean
ParallelIterable.noneSatisfy
(Predicate<? super T> predicate) boolean
RichIterable.noneSatisfy
(Predicate<? super T> predicate) Returns true if the predicate evaluates to false for every element of the iterable or if the iterable is empty.Filters a collection into a PartitionedIterable based on the evaluation of the predicate.Creates a deferred iterable for rejecting elements from the current iterable.Creates a parallel iterable for rejecting elements from the current iterable.Returns all elements of the source collection that return false when evaluating of the predicate.<R extends Collection<T>>
RSame as the reject method with one parameter but uses the specified target collection for the results.Creates a deferred iterable for selecting elements from the current iterable.Creates a parallel iterable for selecting elements from the current iterable.Returns all elements of the source collection that return true when evaluating the predicate.<R extends Collection<T>>
RSame as the select method with one parameter but uses the specified target collection for the results. -
Uses of Predicate in org.eclipse.collections.api.bag
Methods in org.eclipse.collections.api.bag with parameters of type PredicateModifier and TypeMethodDescription<V> ImmutableBag<V>
<V> MutableBag<V>
<V> ParallelUnsortedBag<V>
ParallelUnsortedBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) Creates a parallel iterable for selecting and collecting elements from the current iterable.<V> UnsortedBag<V>
Creates a parallel iterable for rejecting elements from the current iterable.Creates a parallel iterable for rejecting elements from the current iterable.Creates a parallel iterable for selecting elements from the current iterable.Creates a parallel iterable for selecting elements from the current iterable. -
Uses of Predicate in org.eclipse.collections.api.bag.sorted
Methods in org.eclipse.collections.api.bag.sorted with parameters of type PredicateModifier and TypeMethodDescription<V> ImmutableList<V>
ImmutableSortedBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableList<V>
MutableSortedBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ParallelListIterable<V>
ParallelSortedBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) Creates a parallel iterable for selecting and collecting elements from the current iterable.<V> ListIterable<V>
MutableSortedBag.partitionWhile
(Predicate<? super T> predicate) SortedBag.partitionWhile
(Predicate<? super T> predicate) Creates a parallel iterable for rejecting elements from the current iterable.Creates a parallel iterable for selecting elements from the current iterable. -
Uses of Predicate in org.eclipse.collections.api.bimap
Methods in org.eclipse.collections.api.bimap with parameters of type Predicate -
Uses of Predicate in org.eclipse.collections.api.collection
Methods in org.eclipse.collections.api.collection with parameters of type PredicateModifier and TypeMethodDescription<V> ImmutableCollection<V>
ImmutableCollection.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableCollection<V>
MutableCollection.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) Returns a new MutableCollection with the results of applying the specified function to each element of the source collection, but only for elements that evaluate to true for the specified predicate.Filters a collection into a PartitionedIterable based on the evaluation of the predicate.Returns a MutableCollection with all elements that evaluate to false for the specified predicate.boolean
boolean
Removes all elements in the collection that evaluate to true for the specified predicate.Returns a MutableCollection with all elements that evaluate to true for the specified predicate. -
Uses of Predicate in org.eclipse.collections.api.list
Methods in org.eclipse.collections.api.list with parameters of type PredicateModifier and TypeMethodDescription<V> ImmutableList<V>
<V> ListIterable<V>
default <V> MutableList<V>
<V> ParallelListIterable<V>
ParallelListIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) Creates a parallel iterable for selecting and collecting elements from the current iterable.Returns the final elements that do not satisfy the Predicate.ImmutableList.partitionWhile
(Predicate<? super T> predicate) ListIterable.partitionWhile
(Predicate<? super T> predicate) Returns a Partition of the initial elements that satisfy the Predicate and the remaining elements.MutableList.partitionWhile
(Predicate<? super T> predicate) default MutableList<T>
Creates a parallel iterable for rejecting elements from the current iterable.default MutableList<T>
Creates a parallel iterable for selecting elements from the current iterable.Returns the initial elements that satisfy the Predicate. -
Uses of Predicate in org.eclipse.collections.api.map
Methods in org.eclipse.collections.api.map with parameters of type PredicateModifier and TypeMethodDescription<R> ImmutableBag<R>
<V1> ImmutableList<V1>
ImmutableOrderedMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends V1> function) <R> MutableBag<R>
<V1> MutableList<V1>
MutableOrderedMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends V1> function) <V1> ListIterable<V1>
<V1> Bag<V1>
UnsortedMapIterable.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends V1> function) OrderedMap<K,
V> ImmutableOrderedMap.partitionWhile
(Predicate<? super V> predicate) MutableOrderedMap.partitionWhile
(Predicate<? super V> predicate) OrderedMap.partitionWhile
(Predicate<? super V> predicate) OrderedMap<K,
V> -
Uses of Predicate in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive with parameters of type PredicateModifier and TypeMethodDescription<VV> ImmutableBag<VV>
ImmutablePrimitiveObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV> MutableBag<VV>
MutablePrimitiveObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV> Bag<VV>
PrimitiveObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) -
Uses of Predicate in org.eclipse.collections.api.map.sorted
Methods in org.eclipse.collections.api.map.sorted with parameters of type PredicateModifier and TypeMethodDescription<R> ImmutableList<R>
ImmutableSortedMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends R> function) <R> MutableList<R>
MutableSortedMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends R> function) <V1> ListIterable<V1>
SortedMapIterable.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends V1> function) MutableSortedMap.partitionWhile
(Predicate<? super V> predicate) SortedMapIterable.partitionWhile
(Predicate<? super V> predicate) -
Uses of Predicate in org.eclipse.collections.api.ordered
Methods in org.eclipse.collections.api.ordered with parameters of type PredicateModifier and TypeMethodDescription<V> OrderedIterable<V>
<V> ReversibleIterable<V>
ReversibleIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) int
OrderedIterable.detectIndex
(Predicate<? super T> predicate) Returns the index of the first element of theOrderedIterable
for which thepredicate
evaluates to true.int
ReversibleIterable.detectLastIndex
(Predicate<? super T> predicate) Returns the index of the last element of theReversibleIterable
for which thepredicate
evaluates to true.Returns the final elements that do not satisfy the Predicate.Returns the final elements that do not satisfy the Predicate.Returns the final elements that do not satisfy the Predicate.OrderedIterable.partitionWhile
(Predicate<? super T> predicate) Returns a Partition of the initial elements that satisfy the Predicate and the remaining elements.ReversibleIterable.partitionWhile
(Predicate<? super T> predicate) SortedIterable.partitionWhile
(Predicate<? super T> predicate) Returns a Partition of the initial elements that satisfy the Predicate and the remaining elements.Returns the initial elements that satisfy the Predicate.Returns the initial elements that satisfy the Predicate.Returns the initial elements that satisfy the Predicate. -
Uses of Predicate in org.eclipse.collections.api.set
Methods in org.eclipse.collections.api.set with parameters of type PredicateModifier and TypeMethodDescription<V> ImmutableSet<V>
<V> MutableSet<V>
<V> UnsortedSetIterable<V>
UnsortedSetIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) Creates a parallel iterable for rejecting elements from the current iterable.Creates a parallel iterable for rejecting elements from the current iterable.Creates a parallel iterable for selecting elements from the current iterable.Creates a parallel iterable for selecting elements from the current iterable. -
Uses of Predicate in org.eclipse.collections.api.set.sorted
Methods in org.eclipse.collections.api.set.sorted with parameters of type PredicateModifier and TypeMethodDescription<V> ImmutableList<V>
ImmutableSortedSet.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableList<V>
MutableSortedSet.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ParallelListIterable<V>
ParallelSortedSetIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) Creates a parallel iterable for selecting and collecting elements from the current iterable.<V> ListIterable<V>
SortedSetIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) ImmutableSortedSet.partitionWhile
(Predicate<? super T> predicate) MutableSortedSet.partitionWhile
(Predicate<? super T> predicate) SortedSetIterable.partitionWhile
(Predicate<? super T> predicate) Creates a parallel iterable for rejecting elements from the current iterable.Creates a parallel iterable for selecting elements from the current iterable. -
Uses of Predicate in org.eclipse.collections.api.stack
Methods in org.eclipse.collections.api.stack with parameters of type PredicateModifier and TypeMethodDescription<V> ImmutableStack<V>
<V> MutableStack<V>
<V> StackIterable<V>
ImmutableStack.partitionWhile
(Predicate<? super T> predicate) MutableStack.partitionWhile
(Predicate<? super T> predicate) StackIterable.partitionWhile
(Predicate<? super T> predicate) -
Uses of Predicate in org.eclipse.collections.impl
Methods in org.eclipse.collections.impl with parameters of type PredicateModifier and TypeMethodDescriptionboolean
AbstractRichIterable.allSatisfy
(Predicate<? super T> predicate) boolean
UnmodifiableRichIterable.allSatisfy
(Predicate<? super T> predicate) boolean
AbstractRichIterable.anySatisfy
(Predicate<? super T> predicate) boolean
UnmodifiableRichIterable.anySatisfy
(Predicate<? super T> predicate) <V,
R extends Collection<V>>
RAbstractRichIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) <V> RichIterable<V>
UnmodifiableRichIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V,
R extends Collection<V>>
RUnmodifiableRichIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) int
int
UnmodifiableRichIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) AbstractRichIterable.detectOptional
(Predicate<? super T> predicate) UnmodifiableRichIterable.detectOptional
(Predicate<? super T> predicate) boolean
AbstractRichIterable.noneSatisfy
(Predicate<? super T> predicate) boolean
UnmodifiableRichIterable.noneSatisfy
(Predicate<? super T> predicate) <R extends Collection<T>>
R<R extends Collection<T>>
R<R extends Collection<T>>
R<R extends Collection<T>>
R -
Uses of Predicate in org.eclipse.collections.impl.bag
Methods in org.eclipse.collections.impl.bag with parameters of type PredicateModifier and TypeMethodDescription<V,
R extends Collection<V>>
RAbstractBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) int
<R extends Collection<T>>
R<R extends Collection<T>>
R -
Uses of Predicate in org.eclipse.collections.impl.bag.immutable
Methods in org.eclipse.collections.impl.bag.immutable with parameters of type PredicateModifier and TypeMethodDescriptionboolean
ImmutableArrayBag.allSatisfy
(Predicate<? super T> predicate) boolean
ImmutableHashBag.allSatisfy
(Predicate<? super T> predicate) boolean
ImmutableArrayBag.anySatisfy
(Predicate<? super T> predicate) boolean
ImmutableHashBag.anySatisfy
(Predicate<? super T> predicate) <V> ImmutableBag<V>
ImmutableArrayBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ImmutableBag<V>
ImmutableHashBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V,
R extends Collection<V>>
RImmutableHashBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) int
ImmutableHashBag.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) ImmutableArrayBag.detectOptional
(Predicate<? super T> predicate) ImmutableHashBag.detectOptional
(Predicate<? super T> predicate) boolean
ImmutableArrayBag.noneSatisfy
(Predicate<? super T> predicate) boolean
ImmutableHashBag.noneSatisfy
(Predicate<? super T> predicate) <R extends Collection<T>>
R<R extends Collection<T>>
R -
Uses of Predicate in org.eclipse.collections.impl.bag.mutable
Methods in org.eclipse.collections.impl.bag.mutable with parameters of type PredicateModifier and TypeMethodDescriptionboolean
AbstractMutableBagIterable.allSatisfy
(Predicate<? super T> predicate) boolean
AbstractMutableBagIterable.anySatisfy
(Predicate<? super T> predicate) <V> MutableBag<V>
AbstractMutableBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableBag<V>
MultiReaderHashBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableBag<V>
<V> MutableBag<V>
AbstractMutableBagIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) AbstractMutableBagIterable.detectOptional
(Predicate<? super T> predicate) boolean
AbstractMutableBagIterable.noneSatisfy
(Predicate<? super T> predicate) boolean
-
Uses of Predicate in org.eclipse.collections.impl.bag.sorted.mutable
Methods in org.eclipse.collections.impl.bag.sorted.mutable with parameters of type PredicateModifier and TypeMethodDescription<V> MutableList<V>
AbstractMutableSortedBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableList<V>
SynchronizedSortedBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableList<V>
UnmodifiableSortedBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) int
SynchronizedSortedBag.detectIndex
(Predicate<? super T> predicate) int
TreeBag.detectIndex
(Predicate<? super T> predicate) int
UnmodifiableSortedBag.detectIndex
(Predicate<? super T> predicate) int
AbstractMutableSortedBag.detectLastIndex
(Predicate<? super T> predicate) int
SynchronizedSortedBag.detectLastIndex
(Predicate<? super T> predicate) int
UnmodifiableSortedBag.detectLastIndex
(Predicate<? super T> predicate) AbstractMutableSortedBag.partitionWhile
(Predicate<? super T> predicate) SynchronizedSortedBag.partitionWhile
(Predicate<? super T> predicate) UnmodifiableSortedBag.partitionWhile
(Predicate<? super T> predicate) boolean
-
Uses of Predicate in org.eclipse.collections.impl.bimap
Methods in org.eclipse.collections.impl.bimap with parameters of type PredicateModifier and TypeMethodDescriptionboolean
AbstractBiMap.allSatisfy
(Predicate<? super V> predicate) boolean
AbstractBiMap.anySatisfy
(Predicate<? super V> predicate) <VV,
R extends Collection<VV>>
RAbstractBiMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) int
AbstractBiMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) AbstractBiMap.detectOptional
(Predicate<? super V> predicate) boolean
AbstractBiMap.noneSatisfy
(Predicate<? super V> predicate) <R extends Collection<V>>
R<R extends Collection<V>>
R -
Uses of Predicate in org.eclipse.collections.impl.bimap.immutable
Methods in org.eclipse.collections.impl.bimap.immutable with parameters of type Predicate -
Uses of Predicate in org.eclipse.collections.impl.bimap.mutable
Methods in org.eclipse.collections.impl.bimap.mutable with parameters of type PredicateModifier and TypeMethodDescriptionboolean
UnmodifiableBiMap.allSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableBiMap.anySatisfy
(Predicate<? super V> predicate) <V1> RichIterable<V1>
UnmodifiableBiMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends V1> function) <VV,
R extends Collection<VV>>
RUnmodifiableBiMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) int
UnmodifiableBiMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableBiMap.detectOptional
(Predicate<? super V> predicate) boolean
UnmodifiableBiMap.noneSatisfy
(Predicate<? super V> predicate) <R extends Collection<V>>
R<R extends Collection<V>>
R -
Uses of Predicate in org.eclipse.collections.impl.block.factory
Classes in org.eclipse.collections.impl.block.factory that implement PredicateModifier and TypeClassDescriptionclass
Predicates<T>
The Predicates class can be used to build common Predicates to be used by methods such as detect:, select: and reject: on the Iterate, MapIterate, and ArrayIterate classes.static class
static class
static class
Methods in org.eclipse.collections.impl.block.factory that return PredicateModifier and TypeMethodDescriptionstatic <P,
T> Predicate<T> Predicates.bind
(Predicate2<? super T, ? super P> predicate, P parameter) static <T> Predicate<T>
Allows a Java 8 lambda or method reference to be used in a method taking a predicate without requiring an actual cast.static <T> Predicate<T>
Predicates.synchronizedEach
(Predicate<T> predicate) static <T> Predicate<T>
Predicates.throwing
(ThrowingPredicate<T> throwingPredicate) Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Predicate that will throw a RuntimeException, wrapping the checked exception that is the cause.static <T> Predicate<T>
Predicates.throwing
(ThrowingPredicate<T> throwingPredicate, Function2<T, ? super Throwable, ? extends RuntimeException> rethrow) Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Predicate that will throw a user specified RuntimeException based on the provided function.Methods in org.eclipse.collections.impl.block.factory with parameters of type PredicateModifier and TypeMethodDescriptionstatic <T> Predicates<T>
static <T> Predicates<Iterable<T>>
Predicates.allSatisfy
(Predicate<? super T> predicate) static <T> Predicates<T>
static <T> Predicates<T>
static <T> Predicates<Iterable<T>>
Predicates.anySatisfy
(Predicate<? super T> predicate) static <T,
V> Predicates<T> Predicates.attributeAllSatisfy
(Function<? super T, ? extends Iterable<V>> function, Predicate<? super V> predicate) static <T,
V> Predicates<T> Predicates.attributeAnySatisfy
(Function<? super T, ? extends Iterable<V>> function, Predicate<? super V> predicate) static <T,
V> Predicates<T> Predicates.attributeNoneSatisfy
(Function<? super T, ? extends Iterable<V>> function, Predicate<? super V> predicate) static <T,
V> Predicates<T> Predicates.attributePredicate
(Function<? super T, ? extends V> function, Predicate<? super V> predicate) static <T extends Comparable<? super T>,
V>
CaseFunction<T,V> Functions.caseDefault
(Function<? super T, ? extends V> defaultFunction, Predicate<? super T> predicate, Function<? super T, ? extends V> function) static <T> CaseProcedure<T>
Procedures.caseDefault
(Procedure<? super T> defaultProcedure, Predicate<? super T> predicate, Procedure<? super T> procedure) static <T> Predicate<T>
Allows a Java 8 lambda or method reference to be used in a method taking a predicate without requiring an actual cast.static <T,
V> Function<T, V> Functions.ifElse
(Predicate<? super T> predicate, Function<? super T, ? extends V> trueFunction, Function<? super T, ? extends V> falseFunction) static <T> Procedure<T>
Procedures.ifElse
(Predicate<? super T> predicate, Procedure<? super T> trueProcedure, Procedure<? super T> falseProcedure) static <T,
V> Function<T, V> static <T> Procedure<T>
static <T> Predicates<T>
static <T> Predicates<T>
static <T> Predicates<Iterable<T>>
Predicates.noneSatisfy
(Predicate<? super T> predicate) static <T> Predicates<T>
static <T> Predicates<T>
static <T> Predicates<T>
static <T> Predicate<T>
Predicates.synchronizedEach
(Predicate<T> predicate) Method parameters in org.eclipse.collections.impl.block.factory with type arguments of type PredicateModifier and TypeMethodDescriptionstatic <T> Predicates<T>
static <T> Predicates<T>
static <T> Predicates<T>
Constructors in org.eclipse.collections.impl.block.factory with parameters of type PredicateModifierConstructorDescriptionAllSatisfy
(Predicate<? super T> predicate) AnySatisfy
(Predicate<? super T> predicate) NoneSatisfy
(Predicate<? super T> predicate) -
Uses of Predicate in org.eclipse.collections.impl.block.function
Methods in org.eclipse.collections.impl.block.function with parameters of type PredicateModifier and TypeMethodDescriptionConstructors in org.eclipse.collections.impl.block.function with parameters of type Predicate -
Uses of Predicate in org.eclipse.collections.impl.block.predicate
Classes in org.eclipse.collections.impl.block.predicate that implement PredicateModifier and TypeClassDescriptionclass
class
class
MapEntryPredicate<T1,
T2> class
PairPredicate<T1,
T2> Constructors in org.eclipse.collections.impl.block.predicate with parameters of type Predicate -
Uses of Predicate in org.eclipse.collections.impl.block.predicate.checked
Classes in org.eclipse.collections.impl.block.predicate.checked that implement Predicate -
Uses of Predicate in org.eclipse.collections.impl.block.procedure
Methods in org.eclipse.collections.impl.block.procedure with parameters of type PredicateModifier and TypeMethodDescriptionConstructors in org.eclipse.collections.impl.block.procedure with parameters of type PredicateModifierConstructorDescriptionAtomicCountProcedure
(Predicate<? super T> predicate) CollectIfProcedure
(int taskSize, Function<? super T, ? extends V> function, Predicate<? super T> predicate) CollectIfProcedure
(Collection<V> targetCollection, Function<? super T, ? extends V> function, Predicate<? super T> predicate) CountProcedure
(Predicate<? super T> newPredicate) FastListCollectIfProcedure
(FastList<V> targetCollection, Function<? super T, ? extends V> function, Predicate<? super T> predicate) FastListRejectProcedure
(Predicate<? super T> newPredicate, FastList<T> targetCollection) FastListSelectProcedure
(Predicate<? super T> newPredicate, FastList<T> targetCollection) IfObjectIntProcedure
(Predicate<? super T> newPredicate, ObjectIntProcedure<? super T> objectIntProcedure) IfProcedure
(Predicate<? super T> predicate, Procedure<? super T> procedure) IfProcedure
(Predicate<? super T> predicate, Procedure<? super T> procedure, Procedure<? super T> elseProcedure) IfProcedureWith
(Predicate<? super T> newPredicate, Procedure2<? super T, ? super P> procedure) PartitionProcedure
(Predicate<? super T> predicate, PartitionMutableCollection<T> partitionMutableCollection) RejectProcedure
(Predicate<? super T> newPredicate, Collection<T> targetCollection) SelectProcedure
(Predicate<? super T> newPredicate, Collection<T> targetCollection) -
Uses of Predicate in org.eclipse.collections.impl.collection
Methods in org.eclipse.collections.impl.collection with parameters of type PredicateModifier and TypeMethodDescriptionboolean
AbstractSynchronizedRichIterable.allSatisfy
(Predicate<? super T> predicate) boolean
AbstractSynchronizedRichIterable.anySatisfy
(Predicate<? super T> predicate) <V> RichIterable<V>
AbstractSynchronizedRichIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V,
R extends Collection<V>>
RAbstractSynchronizedRichIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) int
AbstractSynchronizedRichIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) AbstractSynchronizedRichIterable.detectOptional
(Predicate<? super T> predicate) boolean
AbstractSynchronizedRichIterable.noneSatisfy
(Predicate<? super T> predicate) <R extends Collection<T>>
R<R extends Collection<T>>
R -
Uses of Predicate in org.eclipse.collections.impl.collection.mutable
Methods in org.eclipse.collections.impl.collection.mutable with parameters of type PredicateModifier and TypeMethodDescriptionboolean
AbstractCollectionAdapter.allSatisfy
(Predicate<? super T> predicate) boolean
AbstractMultiReaderMutableCollection.allSatisfy
(Predicate<? super T> predicate) boolean
AbstractUnmodifiableMutableCollection.allSatisfy
(Predicate<? super T> predicate) boolean
AbstractCollectionAdapter.anySatisfy
(Predicate<? super T> predicate) boolean
AbstractMultiReaderMutableCollection.anySatisfy
(Predicate<? super T> predicate) boolean
AbstractUnmodifiableMutableCollection.anySatisfy
(Predicate<? super T> predicate) <V> MutableCollection<V>
AbstractCollectionAdapter.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V,
R extends Collection<V>>
RAbstractCollectionAdapter.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) <V,
R extends Collection<V>>
RAbstractMultiReaderMutableCollection.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) <V> MutableCollection<V>
AbstractSynchronizedMutableCollection.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableCollection<V>
AbstractUnmodifiableMutableCollection.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V,
R extends Collection<V>>
RAbstractUnmodifiableMutableCollection.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) int
int
int
AbstractCollectionAdapter.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) AbstractMultiReaderMutableCollection.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) AbstractUnmodifiableMutableCollection.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) AbstractCollectionAdapter.detectOptional
(Predicate<? super T> predicate) AbstractMultiReaderMutableCollection.detectOptional
(Predicate<? super T> predicate) AbstractUnmodifiableMutableCollection.detectOptional
(Predicate<? super T> predicate) boolean
AbstractCollectionAdapter.noneSatisfy
(Predicate<? super T> predicate) boolean
AbstractMultiReaderMutableCollection.noneSatisfy
(Predicate<? super T> predicate) boolean
AbstractUnmodifiableMutableCollection.noneSatisfy
(Predicate<? super T> predicate) <R extends Collection<T>>
R<R extends Collection<T>>
R<R extends Collection<T>>
Rboolean
boolean
boolean
boolean
boolean
<R extends Collection<T>>
R<R extends Collection<T>>
R<R extends Collection<T>>
R -
Uses of Predicate in org.eclipse.collections.impl.collector
Methods in org.eclipse.collections.impl.collector with parameters of type PredicateModifier and TypeMethodDescriptionstatic <T,
R extends PartitionMutableCollection<T>>
Collector<T,?, R> Returns all elements of the stream split into a PartitionMutableCollection after evaluating the predicate.static <T,
R extends Collection<T>>
Collector<T,?, R> Returns all elements of the stream that return false when evaluating the predicate.static <T,
R extends Collection<T>>
Collector<T,?, R> Returns all elements of the stream that return true when evaluating the predicate. -
Uses of Predicate in org.eclipse.collections.impl.forkjoin
Methods in org.eclipse.collections.impl.forkjoin with parameters of type PredicateModifier and TypeMethodDescriptionstatic <T,
V> Collection<V> FJIterate.collectIf
(Iterable<T> iterable, Predicate<? super T> predicate, Function<? super T, V> function) Same effect asIterate.collectIf(Iterable, Predicate, Function)
, but executed in parallel batches.static <T,
V> Collection<V> FJIterate.collectIf
(Iterable<T> iterable, Predicate<? super T> predicate, Function<? super T, V> function, boolean allowReorderedResult) Same effect asIterate.collectIf(Iterable, Predicate, Function)
, but executed in parallel batches, and with potentially reordered results.static <T,
V, R extends Collection<V>>
RFJIterate.collectIf
(Iterable<T> iterable, Predicate<? super T> predicate, Function<? super T, V> function, R target, boolean allowReorderedResult) Same effect asIterate.collectIf(Iterable, Predicate, Function)
, but executed in parallel batches, and writing output into the specified collection.static <T,
V, R extends Collection<V>>
RFJIterate.collectIf
(Iterable<T> iterable, Predicate<? super T> predicate, Function<? super T, V> function, R target, int batchSize, ForkJoinPool executor, boolean allowReorderedResult) static <T> int
Same effect asIterate.count(Iterable, Predicate)
, but executed in parallel batches.static <T> int
FJIterate.count
(Iterable<T> iterable, Predicate<? super T> predicate, int batchSize, ForkJoinPool executor) Same effect asIterate.count(Iterable, Predicate)
, but executed in parallel batches.static <T> Collection<T>
Same effect asIterate.reject(Iterable, Predicate)
, but executed in parallel batches.static <T> Collection<T>
FJIterate.reject
(Iterable<T> iterable, Predicate<? super T> predicate, boolean allowReorderedResult) Same effect asIterate.reject(Iterable, Predicate)
, but executed in parallel batches, and with a potentially reordered result.static <T,
R extends Collection<T>>
RFJIterate.reject
(Iterable<T> iterable, Predicate<? super T> predicate, R target, boolean allowReorderedResult) Same effect asIterate.reject(Iterable, Predicate)
, but executed in parallel batches, and writing output into the specified collection.static <T,
R extends Collection<T>>
RFJIterate.reject
(Iterable<T> iterable, Predicate<? super T> predicate, R target, int batchSize, ForkJoinPool executor, boolean allowReorderedResult) static <T> Collection<T>
Same effect asIterate.select(Iterable, Predicate)
, but executed in parallel batches.static <T> Collection<T>
FJIterate.select
(Iterable<T> iterable, Predicate<? super T> predicate, boolean allowReorderedResult) Same effect asIterate.select(Iterable, Predicate)
, but executed in parallel batches, and with a potentially reordered result.static <T,
R extends Collection<T>>
RFJIterate.select
(Iterable<T> iterable, Predicate<? super T> predicate, R target, boolean allowReorderedResult) Same effect asIterate.select(Iterable, Predicate)
, but executed in parallel batches, and writing output into the specified collection.static <T,
R extends Collection<T>>
RFJIterate.select
(Iterable<T> iterable, Predicate<? super T> predicate, R target, int batchSize, ForkJoinPool executor, boolean allowReorderedResult) Same effect asIterate.select(Iterable, Predicate)
, but executed in parallel batches, and writing output into the specified collection. -
Uses of Predicate in org.eclipse.collections.impl.lazy
Methods in org.eclipse.collections.impl.lazy with parameters of type PredicateModifier and TypeMethodDescriptionboolean
CollectIterable.allSatisfy
(Predicate<? super V> predicate) boolean
CompositeIterable.allSatisfy
(Predicate<? super E> predicate) boolean
DistinctIterable.allSatisfy
(Predicate<? super T> predicate) boolean
DropIterable.allSatisfy
(Predicate<? super T> predicate) boolean
DropWhileIterable.allSatisfy
(Predicate<? super T> predicate) boolean
FlatCollectIterable.allSatisfy
(Predicate<? super V> predicate) boolean
LazyIterableAdapter.allSatisfy
(Predicate<? super T> predicate) boolean
RejectIterable.allSatisfy
(Predicate<? super T> predicate) boolean
SelectInstancesOfIterable.allSatisfy
(Predicate<? super T> predicate) boolean
SelectIterable.allSatisfy
(Predicate<? super T> predicate) boolean
TapIterable.allSatisfy
(Predicate<? super T> predicate) boolean
CollectIterable.anySatisfy
(Predicate<? super V> predicate) boolean
CompositeIterable.anySatisfy
(Predicate<? super E> predicate) boolean
DistinctIterable.anySatisfy
(Predicate<? super T> predicate) boolean
DropIterable.anySatisfy
(Predicate<? super T> predicate) boolean
DropWhileIterable.anySatisfy
(Predicate<? super T> predicate) boolean
FlatCollectIterable.anySatisfy
(Predicate<? super V> predicate) boolean
LazyIterableAdapter.anySatisfy
(Predicate<? super T> predicate) boolean
RejectIterable.anySatisfy
(Predicate<? super T> predicate) boolean
SelectInstancesOfIterable.anySatisfy
(Predicate<? super T> predicate) boolean
SelectIterable.anySatisfy
(Predicate<? super T> predicate) boolean
TapIterable.anySatisfy
(Predicate<? super T> predicate) <V> LazyIterable<V>
AbstractLazyIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> LazyIterable<V>
LazyIterableAdapter.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) CollectIterable.detectOptional
(Predicate<? super V> predicate) CompositeIterable.detectOptional
(Predicate<? super E> predicate) DistinctIterable.detectOptional
(Predicate<? super T> predicate) DropIterable.detectOptional
(Predicate<? super T> predicate) DropWhileIterable.detectOptional
(Predicate<? super T> predicate) FlatCollectIterable.detectOptional
(Predicate<? super V> predicate) LazyIterableAdapter.detectOptional
(Predicate<? super T> predicate) RejectIterable.detectOptional
(Predicate<? super T> predicate) SelectInstancesOfIterable.detectOptional
(Predicate<? super T> predicate) SelectIterable.detectOptional
(Predicate<? super T> predicate) TapIterable.detectOptional
(Predicate<? super T> predicate) boolean
CollectIterable.noneSatisfy
(Predicate<? super V> predicate) boolean
CompositeIterable.noneSatisfy
(Predicate<? super E> predicate) boolean
DistinctIterable.noneSatisfy
(Predicate<? super T> predicate) boolean
DropIterable.noneSatisfy
(Predicate<? super T> predicate) boolean
DropWhileIterable.noneSatisfy
(Predicate<? super T> predicate) boolean
FlatCollectIterable.noneSatisfy
(Predicate<? super V> predicate) boolean
LazyIterableAdapter.noneSatisfy
(Predicate<? super T> predicate) boolean
RejectIterable.noneSatisfy
(Predicate<? super T> predicate) boolean
SelectInstancesOfIterable.noneSatisfy
(Predicate<? super T> predicate) boolean
SelectIterable.noneSatisfy
(Predicate<? super T> predicate) boolean
TapIterable.noneSatisfy
(Predicate<? super T> predicate) Constructors in org.eclipse.collections.impl.lazy with parameters of type PredicateModifierConstructorDescriptionDropWhileIterable
(Iterable<T> newAdapted, Predicate<? super T> predicate) RejectIterable
(Iterable<T> newAdapted, Predicate<? super T> newPredicate) SelectIterable
(Iterable<T> newAdapted, Predicate<? super T> newPredicate) TakeWhileIterable
(Iterable<T> newAdapted, Predicate<? super T> predicate) -
Uses of Predicate in org.eclipse.collections.impl.lazy.iterator
Constructors in org.eclipse.collections.impl.lazy.iterator with parameters of type PredicateModifierConstructorDescriptionSelectIterator
(Iterable<T> iterable, Predicate<? super T> predicate) SelectIterator
(Iterator<T> iterator, Predicate<? super T> predicate) TakeWhileIterator
(Iterable<T> iterable, Predicate<? super T> predicate) TakeWhileIterator
(Iterator<T> iterator, Predicate<? super T> predicate) -
Uses of Predicate in org.eclipse.collections.impl.lazy.parallel
Methods in org.eclipse.collections.impl.lazy.parallel with parameters of type PredicateModifier and TypeMethodDescriptionboolean
AbstractMultiReaderParallelIterable.allSatisfy
(Predicate<? super T> predicate) boolean
AbstractSynchronizedParallelIterable.allSatisfy
(Predicate<? super T> predicate) boolean
NonParallelIterable.allSatisfy
(Predicate<? super T> predicate) boolean
ParallelDistinctIterable.allSatisfy
(Predicate<? super T> predicate) boolean
ParallelSelectIterable.allSatisfy
(Predicate<? super T> predicate) boolean
RootBatch.allSatisfy
(Predicate<? super T> predicate) boolean
AbstractMultiReaderParallelIterable.anySatisfy
(Predicate<? super T> predicate) boolean
AbstractSynchronizedParallelIterable.anySatisfy
(Predicate<? super T> predicate) boolean
NonParallelIterable.anySatisfy
(Predicate<? super T> predicate) boolean
ParallelDistinctIterable.anySatisfy
(Predicate<? super T> predicate) boolean
ParallelSelectIterable.anySatisfy
(Predicate<? super T> predicate) boolean
RootBatch.anySatisfy
(Predicate<? super T> predicate) <V> ParallelIterable<V>
AbstractParallelIterableImpl.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ParallelIterable<V>
MultiReaderParallelIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ParallelIterable<V>
SynchronizedParallelIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) int
int
int
int
int
int
AbstractMultiReaderParallelIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) AbstractParallelIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) AbstractSynchronizedParallelIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) NonParallelIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) boolean
AbstractMultiReaderParallelIterable.noneSatisfy
(Predicate<? super T> predicate) boolean
AbstractParallelIterable.noneSatisfy
(Predicate<? super T> predicate) boolean
AbstractSynchronizedParallelIterable.noneSatisfy
(Predicate<? super T> predicate) boolean
NonParallelIterable.noneSatisfy
(Predicate<? super T> predicate) Constructors in org.eclipse.collections.impl.lazy.parallel with parameters of type PredicateModifierConstructorDescriptionParallelSelectIterable
(AbstractParallelIterable<T, ? extends Batch<T>> parallelIterable, Predicate<? super T> predicate) -
Uses of Predicate in org.eclipse.collections.impl.lazy.parallel.bag
Methods in org.eclipse.collections.impl.lazy.parallel.bag with parameters of type PredicateModifier and TypeMethodDescriptionboolean
ParallelCollectUnsortedBag.allSatisfy
(Predicate<? super V> predicate) boolean
ParallelCollectUnsortedBag.anySatisfy
(Predicate<? super V> predicate) <V> ParallelUnsortedBag<V>
AbstractParallelUnsortedBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ParallelUnsortedBag<V>
NonParallelUnsortedBag.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) Constructors in org.eclipse.collections.impl.lazy.parallel.bag with parameters of type PredicateModifierConstructorDescriptionSelectUnsortedBagBatch
(UnsortedBagBatch<T> unsortedBagBatch, Predicate<? super T> predicate) -
Uses of Predicate in org.eclipse.collections.impl.lazy.parallel.list
Methods in org.eclipse.collections.impl.lazy.parallel.list with parameters of type PredicateModifier and TypeMethodDescriptionboolean
ListIterableBatch.allSatisfy
(Predicate<? super T> predicate) boolean
ListIterableParallelIterable.allSatisfy
(Predicate<? super T> predicate) boolean
ParallelCollectListIterable.allSatisfy
(Predicate<? super V> predicate) boolean
ParallelFlatCollectListIterable.allSatisfy
(Predicate<? super V> predicate) boolean
ListIterableBatch.anySatisfy
(Predicate<? super T> predicate) boolean
ListIterableParallelIterable.anySatisfy
(Predicate<? super T> predicate) boolean
ParallelCollectListIterable.anySatisfy
(Predicate<? super V> predicate) boolean
ParallelFlatCollectListIterable.anySatisfy
(Predicate<? super V> predicate) <V> ParallelListIterable<V>
AbstractParallelListIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ParallelListIterable<V>
MultiReaderParallelListIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ParallelListIterable<V>
NonParallelListIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ParallelListIterable<V>
SynchronizedParallelListIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) int
Constructors in org.eclipse.collections.impl.lazy.parallel.list with parameters of type PredicateModifierConstructorDescriptionSelectListBatch
(ListBatch<T> listBatch, Predicate<? super T> predicate) -
Uses of Predicate in org.eclipse.collections.impl.lazy.parallel.set
Methods in org.eclipse.collections.impl.lazy.parallel.set with parameters of type PredicateModifier and TypeMethodDescriptionboolean
ParallelCollectIterable.allSatisfy
(Predicate<? super V> predicate) boolean
ParallelFlatCollectIterable.allSatisfy
(Predicate<? super V> predicate) boolean
ParallelCollectIterable.anySatisfy
(Predicate<? super V> predicate) boolean
ParallelFlatCollectIterable.anySatisfy
(Predicate<? super V> predicate) <V> ParallelIterable<V>
AbstractParallelUnsortedSetIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ParallelIterable<V>
MultiReaderParallelUnsortedSetIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ParallelIterable<V>
NonParallelUnsortedSetIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ParallelIterable<V>
SynchronizedParallelUnsortedSetIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) Constructors in org.eclipse.collections.impl.lazy.parallel.set with parameters of type PredicateModifierConstructorDescriptionSelectUnsortedSetBatch
(UnsortedSetBatch<T> unsortedSetBatch, Predicate<? super T> predicate) -
Uses of Predicate in org.eclipse.collections.impl.lazy.parallel.set.sorted
Methods in org.eclipse.collections.impl.lazy.parallel.set.sorted with parameters of type PredicateModifier and TypeMethodDescription<V> ParallelListIterable<V>
AbstractParallelSortedSetIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ParallelListIterable<V>
NonParallelSortedSetIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> ParallelListIterable<V>
SynchronizedParallelSortedSetIterable.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) Constructors in org.eclipse.collections.impl.lazy.parallel.set.sorted with parameters of type PredicateModifierConstructorDescriptionSelectSortedSetBatch
(SortedSetBatch<T> sortedSetBatch, Predicate<? super T> predicate) -
Uses of Predicate in org.eclipse.collections.impl.lazy.primitive
Methods in org.eclipse.collections.impl.lazy.primitive with parameters of type PredicateModifier and TypeMethodDescriptionboolean
FlatCollectBooleanToObjectIterable.allSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectByteToObjectIterable.allSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectCharToObjectIterable.allSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectDoubleToObjectIterable.allSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectFloatToObjectIterable.allSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectIntToObjectIterable.allSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectLongToObjectIterable.allSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectShortToObjectIterable.allSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectBooleanToObjectIterable.anySatisfy
(Predicate<? super V> predicate) boolean
FlatCollectByteToObjectIterable.anySatisfy
(Predicate<? super V> predicate) boolean
FlatCollectCharToObjectIterable.anySatisfy
(Predicate<? super V> predicate) boolean
FlatCollectDoubleToObjectIterable.anySatisfy
(Predicate<? super V> predicate) boolean
FlatCollectFloatToObjectIterable.anySatisfy
(Predicate<? super V> predicate) boolean
FlatCollectIntToObjectIterable.anySatisfy
(Predicate<? super V> predicate) boolean
FlatCollectLongToObjectIterable.anySatisfy
(Predicate<? super V> predicate) boolean
FlatCollectShortToObjectIterable.anySatisfy
(Predicate<? super V> predicate) FlatCollectBooleanToObjectIterable.detectOptional
(Predicate<? super V> predicate) FlatCollectByteToObjectIterable.detectOptional
(Predicate<? super V> predicate) FlatCollectCharToObjectIterable.detectOptional
(Predicate<? super V> predicate) FlatCollectDoubleToObjectIterable.detectOptional
(Predicate<? super V> predicate) FlatCollectFloatToObjectIterable.detectOptional
(Predicate<? super V> predicate) FlatCollectIntToObjectIterable.detectOptional
(Predicate<? super V> predicate) FlatCollectLongToObjectIterable.detectOptional
(Predicate<? super V> predicate) FlatCollectShortToObjectIterable.detectOptional
(Predicate<? super V> predicate) boolean
FlatCollectBooleanToObjectIterable.noneSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectByteToObjectIterable.noneSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectCharToObjectIterable.noneSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectDoubleToObjectIterable.noneSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectFloatToObjectIterable.noneSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectIntToObjectIterable.noneSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectLongToObjectIterable.noneSatisfy
(Predicate<? super V> predicate) boolean
FlatCollectShortToObjectIterable.noneSatisfy
(Predicate<? super V> predicate) -
Uses of Predicate in org.eclipse.collections.impl.list
Methods in org.eclipse.collections.impl.list with parameters of type PredicateModifier and TypeMethodDescription<R extends Collection<Integer>>
R<R extends Collection<Integer>>
R -
Uses of Predicate in org.eclipse.collections.impl.list.fixed
Methods in org.eclipse.collections.impl.list.fixed with parameters of type PredicateModifier and TypeMethodDescriptionboolean
AbstractArrayAdapter.allSatisfy
(Predicate<? super T> predicate) boolean
AbstractArrayAdapter.anySatisfy
(Predicate<? super T> predicate) <V,
R extends Collection<V>>
RAbstractArrayAdapter.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) int
int
AbstractArrayAdapter.detectIndex
(Predicate<? super T> predicate) int
AbstractArrayAdapter.detectLastIndex
(Predicate<? super T> predicate) AbstractArrayAdapter.detectOptional
(Predicate<? super T> predicate) boolean
AbstractArrayAdapter.noneSatisfy
(Predicate<? super T> predicate) <R extends Collection<T>>
Rboolean
boolean
<R extends Collection<T>>
R -
Uses of Predicate in org.eclipse.collections.impl.list.mutable
Methods in org.eclipse.collections.impl.list.mutable with parameters of type PredicateModifier and TypeMethodDescriptionboolean
AbstractMutableList.allSatisfy
(Predicate<? super T> predicate) boolean
ArrayListAdapter.allSatisfy
(Predicate<? super T> predicate) boolean
CompositeFastList.allSatisfy
(Predicate<? super E> predicate) boolean
FastList.allSatisfy
(Predicate<? super T> predicate) boolean
ListAdapter.allSatisfy
(Predicate<? super T> predicate) boolean
RandomAccessListAdapter.allSatisfy
(Predicate<? super T> predicate) boolean
AbstractMutableList.anySatisfy
(Predicate<? super T> predicate) boolean
ArrayListAdapter.anySatisfy
(Predicate<? super T> predicate) boolean
CompositeFastList.anySatisfy
(Predicate<? super E> predicate) boolean
FastList.anySatisfy
(Predicate<? super T> predicate) boolean
ListAdapter.anySatisfy
(Predicate<? super T> predicate) boolean
RandomAccessListAdapter.anySatisfy
(Predicate<? super T> predicate) <V> MutableList<V>
AbstractListAdapter.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V,
R extends Collection<V>>
RAbstractMutableList.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) <V> ArrayListAdapter<V>
ArrayListAdapter.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> FastList<V>
<V,
R extends Collection<V>>
RFastList.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) <V> MutableList<V>
MultiReaderFastList.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableList<V>
RandomAccessListAdapter.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableList<V>
SynchronizedMutableList.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableList<V>
UnmodifiableMutableList.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) int
int
int
int
int
int
ArrayListAdapter.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) ListAdapter.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) RandomAccessListAdapter.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) int
AbstractMutableList.detectIndex
(Predicate<? super T> predicate) int
ArrayListAdapter.detectIndex
(Predicate<? super T> predicate) int
FastList.detectIndex
(Predicate<? super T> predicate) int
ListAdapter.detectIndex
(Predicate<? super T> predicate) int
MultiReaderFastList.detectIndex
(Predicate<? super T> predicate) int
RandomAccessListAdapter.detectIndex
(Predicate<? super T> predicate) int
SynchronizedMutableList.detectIndex
(Predicate<? super T> predicate) int
UnmodifiableMutableList.detectIndex
(Predicate<? super T> predicate) int
AbstractMutableList.detectLastIndex
(Predicate<? super T> predicate) int
ArrayListAdapter.detectLastIndex
(Predicate<? super T> predicate) int
FastList.detectLastIndex
(Predicate<? super T> predicate) int
ListAdapter.detectLastIndex
(Predicate<? super T> predicate) int
MultiReaderFastList.detectLastIndex
(Predicate<? super T> predicate) int
RandomAccessListAdapter.detectLastIndex
(Predicate<? super T> predicate) int
SynchronizedMutableList.detectLastIndex
(Predicate<? super T> predicate) int
UnmodifiableMutableList.detectLastIndex
(Predicate<? super T> predicate) AbstractMutableList.detectOptional
(Predicate<? super T> predicate) FastList.detectOptional
(Predicate<? super T> predicate) void
boolean
AbstractMutableList.noneSatisfy
(Predicate<? super T> predicate) boolean
ArrayListAdapter.noneSatisfy
(Predicate<? super T> predicate) boolean
CompositeFastList.noneSatisfy
(Predicate<? super E> predicate) boolean
FastList.noneSatisfy
(Predicate<? super T> predicate) boolean
ListAdapter.noneSatisfy
(Predicate<? super T> predicate) boolean
RandomAccessListAdapter.noneSatisfy
(Predicate<? super T> predicate) AbstractMutableList.partitionWhile
(Predicate<? super T> predicate) ArrayListAdapter.partitionWhile
(Predicate<? super T> predicate) FastList.partitionWhile
(Predicate<? super T> predicate) ListAdapter.partitionWhile
(Predicate<? super T> predicate) MultiReaderFastList.partitionWhile
(Predicate<? super T> predicate) RandomAccessListAdapter.partitionWhile
(Predicate<? super T> predicate) SynchronizedMutableList.partitionWhile
(Predicate<? super T> predicate) UnmodifiableMutableList.partitionWhile
(Predicate<? super T> predicate) <R extends Collection<T>>
R<R extends Collection<E>>
R<R extends Collection<T>>
Rboolean
boolean
<R extends Collection<T>>
R<R extends Collection<E>>
R<R extends Collection<T>>
R -
Uses of Predicate in org.eclipse.collections.impl.map
Methods in org.eclipse.collections.impl.map with parameters of type PredicateModifier and TypeMethodDescriptionboolean
AbstractMapIterable.allSatisfy
(Predicate<? super V> predicate) boolean
AbstractMapIterable.anySatisfy
(Predicate<? super V> predicate) AbstractMapIterable.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) AbstractMapIterable.detectOptional
(Predicate<? super V> predicate) boolean
AbstractMapIterable.noneSatisfy
(Predicate<? super V> predicate) -
Uses of Predicate in org.eclipse.collections.impl.map.immutable
Methods in org.eclipse.collections.impl.map.immutable with parameters of type Predicate -
Uses of Predicate in org.eclipse.collections.impl.map.mutable
Methods in org.eclipse.collections.impl.map.mutable with parameters of type PredicateModifier and TypeMethodDescriptionboolean
UnifiedMap.allSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableMutableMap.allSatisfy
(Predicate<? super V> predicate) boolean
UnifiedMap.anySatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableMutableMap.anySatisfy
(Predicate<? super V> predicate) <R> MutableBag<R>
AbstractMutableMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends R> function) <A> MutableBag<A>
SynchronizedMutableMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends A> function) <R> MutableBag<R>
UnmodifiableMutableMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends R> function) <R,
C extends Collection<R>>
CUnmodifiableMutableMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends R> function, C target) int
UnifiedMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableMutableMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnifiedMap.detectOptional
(Predicate<? super V> predicate) UnmodifiableMutableMap.detectOptional
(Predicate<? super V> predicate) boolean
UnifiedMap.noneSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableMutableMap.noneSatisfy
(Predicate<? super V> predicate) <R extends Collection<V>>
R<R extends Collection<V>>
R -
Uses of Predicate in org.eclipse.collections.impl.map.mutable.primitive
Methods in org.eclipse.collections.impl.map.mutable.primitive with parameters of type PredicateModifier and TypeMethodDescriptionboolean
ByteObjectHashMap.allSatisfy
(Predicate<? super V> predicate) boolean
CharObjectHashMap.allSatisfy
(Predicate<? super V> predicate) boolean
DoubleObjectHashMap.allSatisfy
(Predicate<? super V> predicate) boolean
FloatObjectHashMap.allSatisfy
(Predicate<? super V> predicate) boolean
IntObjectHashMap.allSatisfy
(Predicate<? super V> predicate) boolean
LongObjectHashMap.allSatisfy
(Predicate<? super V> predicate) boolean
ShortObjectHashMap.allSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedByteObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedCharObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedDoubleObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedFloatObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedIntObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedLongObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedShortObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableByteObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableCharObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableDoubleObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableFloatObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableIntObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableLongObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableShortObjectMap.allSatisfy
(Predicate<? super V> predicate) boolean
ByteObjectHashMap.anySatisfy
(Predicate<? super V> predicate) boolean
CharObjectHashMap.anySatisfy
(Predicate<? super V> predicate) boolean
DoubleObjectHashMap.anySatisfy
(Predicate<? super V> predicate) boolean
FloatObjectHashMap.anySatisfy
(Predicate<? super V> predicate) boolean
IntObjectHashMap.anySatisfy
(Predicate<? super V> predicate) boolean
LongObjectHashMap.anySatisfy
(Predicate<? super V> predicate) boolean
ShortObjectHashMap.anySatisfy
(Predicate<? super V> predicate) boolean
SynchronizedByteObjectMap.anySatisfy
(Predicate<? super V> predicate) boolean
SynchronizedCharObjectMap.anySatisfy
(Predicate<? super V> predicate) boolean
SynchronizedDoubleObjectMap.anySatisfy
(Predicate<? super V> predicate) boolean
SynchronizedFloatObjectMap.anySatisfy
(Predicate<? super V> predicate) boolean
SynchronizedIntObjectMap.anySatisfy
(Predicate<? super V> predicate) boolean
SynchronizedLongObjectMap.anySatisfy
(Predicate<? super V> predicate) boolean
SynchronizedShortObjectMap.anySatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableByteObjectMap.anySatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableCharObjectMap.anySatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableDoubleObjectMap.anySatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableFloatObjectMap.anySatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableIntObjectMap.anySatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableLongObjectMap.anySatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableShortObjectMap.anySatisfy
(Predicate<? super V> predicate) <VV> MutableBag<VV>
ByteObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RByteObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
CharObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RCharObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
DoubleObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RDoubleObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
FloatObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RFloatObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
IntObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RIntObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
LongObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RLongObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
ShortObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RShortObjectHashMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
SynchronizedByteObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RSynchronizedByteObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
SynchronizedCharObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RSynchronizedCharObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
SynchronizedDoubleObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RSynchronizedDoubleObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
SynchronizedFloatObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RSynchronizedFloatObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
SynchronizedIntObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RSynchronizedIntObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
SynchronizedLongObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RSynchronizedLongObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
SynchronizedShortObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RSynchronizedShortObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
UnmodifiableByteObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RUnmodifiableByteObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
UnmodifiableCharObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RUnmodifiableCharObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
UnmodifiableDoubleObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RUnmodifiableDoubleObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
UnmodifiableFloatObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RUnmodifiableFloatObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
UnmodifiableIntObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RUnmodifiableIntObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
UnmodifiableLongObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RUnmodifiableLongObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) <VV> MutableBag<VV>
UnmodifiableShortObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RUnmodifiableShortObjectMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
ByteObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) CharObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) DoubleObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) FloatObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) IntObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) LongObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) ShortObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedByteObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedCharObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedDoubleObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedFloatObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedIntObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedLongObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedShortObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableByteObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableCharObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableDoubleObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableFloatObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableIntObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableLongObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableShortObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) ByteObjectHashMap.detectOptional
(Predicate<? super V> predicate) CharObjectHashMap.detectOptional
(Predicate<? super V> predicate) DoubleObjectHashMap.detectOptional
(Predicate<? super V> predicate) FloatObjectHashMap.detectOptional
(Predicate<? super V> predicate) IntObjectHashMap.detectOptional
(Predicate<? super V> predicate) LongObjectHashMap.detectOptional
(Predicate<? super V> predicate) ShortObjectHashMap.detectOptional
(Predicate<? super V> predicate) SynchronizedByteObjectMap.detectOptional
(Predicate<? super V> predicate) SynchronizedCharObjectMap.detectOptional
(Predicate<? super V> predicate) SynchronizedDoubleObjectMap.detectOptional
(Predicate<? super V> predicate) SynchronizedFloatObjectMap.detectOptional
(Predicate<? super V> predicate) SynchronizedIntObjectMap.detectOptional
(Predicate<? super V> predicate) SynchronizedLongObjectMap.detectOptional
(Predicate<? super V> predicate) SynchronizedShortObjectMap.detectOptional
(Predicate<? super V> predicate) UnmodifiableByteObjectMap.detectOptional
(Predicate<? super V> predicate) UnmodifiableCharObjectMap.detectOptional
(Predicate<? super V> predicate) UnmodifiableDoubleObjectMap.detectOptional
(Predicate<? super V> predicate) UnmodifiableFloatObjectMap.detectOptional
(Predicate<? super V> predicate) UnmodifiableIntObjectMap.detectOptional
(Predicate<? super V> predicate) UnmodifiableLongObjectMap.detectOptional
(Predicate<? super V> predicate) UnmodifiableShortObjectMap.detectOptional
(Predicate<? super V> predicate) boolean
ByteObjectHashMap.noneSatisfy
(Predicate<? super V> predicate) boolean
CharObjectHashMap.noneSatisfy
(Predicate<? super V> predicate) boolean
DoubleObjectHashMap.noneSatisfy
(Predicate<? super V> predicate) boolean
FloatObjectHashMap.noneSatisfy
(Predicate<? super V> predicate) boolean
IntObjectHashMap.noneSatisfy
(Predicate<? super V> predicate) boolean
LongObjectHashMap.noneSatisfy
(Predicate<? super V> predicate) boolean
ShortObjectHashMap.noneSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedByteObjectMap.noneSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedCharObjectMap.noneSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedDoubleObjectMap.noneSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedFloatObjectMap.noneSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedIntObjectMap.noneSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedLongObjectMap.noneSatisfy
(Predicate<? super V> predicate) boolean
SynchronizedShortObjectMap.noneSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableByteObjectMap.noneSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableCharObjectMap.noneSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableDoubleObjectMap.noneSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableFloatObjectMap.noneSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableIntObjectMap.noneSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableLongObjectMap.noneSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableShortObjectMap.noneSatisfy
(Predicate<? super V> predicate) <R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R<R extends Collection<V>>
R -
Uses of Predicate in org.eclipse.collections.impl.map.ordered.mutable
Methods in org.eclipse.collections.impl.map.ordered.mutable with parameters of type PredicateModifier and TypeMethodDescriptionboolean
UnmodifiableMutableOrderedMap.allSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableMutableOrderedMap.anySatisfy
(Predicate<? super V> predicate) <R> MutableList<R>
OrderedMapAdapter.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends R> function) <VV> MutableList<VV>
UnmodifiableMutableOrderedMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function) <VV,
R extends Collection<VV>>
RUnmodifiableMutableOrderedMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) int
UnmodifiableMutableOrderedMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) int
OrderedMapAdapter.detectIndex
(Predicate<? super V> predicate) int
UnmodifiableMutableOrderedMap.detectIndex
(Predicate<? super V> predicate) int
OrderedMapAdapter.detectLastIndex
(Predicate<? super V> predicate) int
UnmodifiableMutableOrderedMap.detectLastIndex
(Predicate<? super V> predicate) UnmodifiableMutableOrderedMap.detectOptional
(Predicate<? super V> predicate) boolean
UnmodifiableMutableOrderedMap.noneSatisfy
(Predicate<? super V> predicate) OrderedMapAdapter.partitionWhile
(Predicate<? super V> predicate) UnmodifiableMutableOrderedMap.partitionWhile
(Predicate<? super V> predicate) <R extends Collection<V>>
R<R extends Collection<V>>
R -
Uses of Predicate in org.eclipse.collections.impl.map.sorted.immutable
Methods in org.eclipse.collections.impl.map.sorted.immutable with parameters of type PredicateModifier and TypeMethodDescription<R> ImmutableList<R>
AbstractImmutableSortedMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends R> function) int
AbstractImmutableSortedMap.detectIndex
(Predicate<? super V> predicate) int
AbstractImmutableSortedMap.detectLastIndex
(Predicate<? super V> predicate) AbstractImmutableSortedMap.partitionWhile
(Predicate<? super V> predicate) -
Uses of Predicate in org.eclipse.collections.impl.map.sorted.mutable
Methods in org.eclipse.collections.impl.map.sorted.mutable with parameters of type PredicateModifier and TypeMethodDescriptionboolean
UnmodifiableTreeMap.allSatisfy
(Predicate<? super V> predicate) boolean
UnmodifiableTreeMap.anySatisfy
(Predicate<? super V> predicate) <R> MutableList<R>
AbstractMutableSortedMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends R> function) <R> MutableList<R>
SynchronizedSortedMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends R> function) <R> MutableList<R>
UnmodifiableTreeMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends R> function) <R,
C extends Collection<R>>
CUnmodifiableTreeMap.collectIf
(Predicate<? super V> predicate, Function<? super V, ? extends R> function, C target) int
UnmodifiableTreeMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) int
AbstractMutableSortedMap.detectIndex
(Predicate<? super V> predicate) int
SynchronizedSortedMap.detectIndex
(Predicate<? super V> predicate) int
UnmodifiableTreeMap.detectIndex
(Predicate<? super V> predicate) int
AbstractMutableSortedMap.detectLastIndex
(Predicate<? super V> predicate) int
SynchronizedSortedMap.detectLastIndex
(Predicate<? super V> predicate) int
UnmodifiableTreeMap.detectLastIndex
(Predicate<? super V> predicate) UnmodifiableTreeMap.detectOptional
(Predicate<? super V> predicate) boolean
UnmodifiableTreeMap.noneSatisfy
(Predicate<? super V> predicate) SortedMapAdapter.partitionWhile
(Predicate<? super V> predicate) SynchronizedSortedMap.partitionWhile
(Predicate<? super V> predicate) TreeSortedMap.partitionWhile
(Predicate<? super V> predicate) UnmodifiableTreeMap.partitionWhile
(Predicate<? super V> predicate) <R extends Collection<V>>
R<R extends Collection<V>>
R -
Uses of Predicate in org.eclipse.collections.impl.parallel
Methods in org.eclipse.collections.impl.parallel with parameters of type PredicateModifier and TypeMethodDescriptionstatic <T,
V> Collection<V> ParallelIterate.collectIf
(Iterable<T> iterable, Predicate<? super T> predicate, Function<? super T, V> function) Same effect asIterate.collectIf(Iterable, Predicate, Function)
, but executed in parallel batches.static <T,
V> Collection<V> ParallelIterate.collectIf
(Iterable<T> iterable, Predicate<? super T> predicate, Function<? super T, V> function, boolean allowReorderedResult) Same effect asIterate.collectIf(Iterable, Predicate, Function)
, but executed in parallel batches, and with potentially reordered results.static <T,
V, R extends Collection<V>>
RParallelIterate.collectIf
(Iterable<T> iterable, Predicate<? super T> predicate, Function<? super T, V> function, R target, boolean allowReorderedResult) Same effect asIterate.collectIf(Iterable, Predicate, Function)
, but executed in parallel batches, and writing output into the specified collection.static <T,
V, R extends Collection<V>>
RParallelIterate.collectIf
(Iterable<T> iterable, Predicate<? super T> predicate, Function<? super T, V> function, R target, int batchSize, Executor executor, boolean allowReorderedResult) static <T> int
Same effect asIterate.count(Iterable, Predicate)
, but executed in parallel batches.static <T> int
ParallelIterate.count
(Iterable<T> iterable, Predicate<? super T> predicate, int batchSize, Executor executor) Same effect asIterate.count(Iterable, Predicate)
, but executed in parallel batches.static <T> Collection<T>
Same effect asIterate.reject(Iterable, Predicate)
, but executed in parallel batches.static <T> Collection<T>
ParallelIterate.reject
(Iterable<T> iterable, Predicate<? super T> predicate, boolean allowReorderedResult) Same effect asIterate.reject(Iterable, Predicate)
, but executed in parallel batches, and with a potentially reordered result.static <T,
R extends Collection<T>>
RParallelIterate.reject
(Iterable<T> iterable, Predicate<? super T> predicate, R target, boolean allowReorderedResult) Same effect asIterate.reject(Iterable, Predicate)
, but executed in parallel batches, and writing output into the specified collection.static <T,
R extends Collection<T>>
RParallelIterate.reject
(Iterable<T> iterable, Predicate<? super T> predicate, R target, int batchSize, Executor executor, boolean allowReorderedResult) static <T> Collection<T>
Same effect asIterate.select(Iterable, Predicate)
, but executed in parallel batches.static <T> Collection<T>
ParallelIterate.select
(Iterable<T> iterable, Predicate<? super T> predicate, boolean allowReorderedResult) Same effect asIterate.select(Iterable, Predicate)
, but executed in parallel batches, and with a potentially reordered result.static <T,
R extends Collection<T>>
RParallelIterate.select
(Iterable<T> iterable, Predicate<? super T> predicate, R target, boolean allowReorderedResult) Same effect asIterate.select(Iterable, Predicate)
, but executed in parallel batches, and writing output into the specified collection.static <T,
R extends Collection<T>>
RParallelIterate.select
(Iterable<T> iterable, Predicate<? super T> predicate, R target, int batchSize, Executor executor, boolean allowReorderedResult) Same effect asIterate.select(Iterable, Predicate)
, but executed in parallel batches, and writing output into the specified collection.Constructors in org.eclipse.collections.impl.parallel with parameters of type PredicateModifierConstructorDescriptionCollectIfProcedureFactory
(Function<? super T, V> function, Predicate<? super T> predicate, int newTaskSize) CountProcedureFactory
(Predicate<? super T> predicate) FastListCollectIfProcedureFactory
(Function<? super T, V> function, Predicate<? super T> predicate, int newTaskSize) FastListRejectProcedureFactory
(Predicate<? super T> newPredicate, int newInitialCapacity) FastListSelectProcedureFactory
(Predicate<? super T> newPredicate, int newInitialCapacity) RejectProcedureFactory
(Predicate<? super T> newPredicate, int newInitialCapacity) SelectProcedureFactory
(Predicate<? super T> newPredicate, int newInitialCapacity) -
Uses of Predicate in org.eclipse.collections.impl.partition.stack
Constructors in org.eclipse.collections.impl.partition.stack with parameters of type PredicateModifierConstructorDescriptionPartitionProcedure
(Predicate<? super T> predicate, PartitionArrayStack<T> partitionMutableStack) -
Uses of Predicate in org.eclipse.collections.impl.set
Methods in org.eclipse.collections.impl.set with parameters of type PredicateModifier and TypeMethodDescriptionboolean
AbstractUnifiedSet.allSatisfy
(Predicate<? super T> predicate) boolean
AbstractUnifiedSet.anySatisfy
(Predicate<? super T> predicate) <V> UnifiedSet<V>
AbstractUnifiedSet.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) AbstractUnifiedSet.detectOptional
(Predicate<? super T> predicate) boolean
AbstractUnifiedSet.noneSatisfy
(Predicate<? super T> predicate) -
Uses of Predicate in org.eclipse.collections.impl.set.immutable
Methods in org.eclipse.collections.impl.set.immutable with parameters of type Predicate -
Uses of Predicate in org.eclipse.collections.impl.set.mutable
Methods in org.eclipse.collections.impl.set.mutable with parameters of type PredicateModifier and TypeMethodDescription<V> MutableSet<V>
AbstractMutableSet.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableSet<V>
MultiReaderUnifiedSet.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableSet<V>
<V> MutableSet<V>
SynchronizedMutableSet.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableSet<V>
UnmodifiableMutableSet.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) -
Uses of Predicate in org.eclipse.collections.impl.set.sorted.mutable
Methods in org.eclipse.collections.impl.set.sorted.mutable with parameters of type PredicateModifier and TypeMethodDescription<V> MutableList<V>
SortedSetAdapter.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableList<V>
SynchronizedSortedSet.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V> MutableList<V>
<V> MutableList<V>
UnmodifiableSortedSet.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) int
SortedSetAdapter.detectIndex
(Predicate<? super T> predicate) int
SynchronizedSortedSet.detectIndex
(Predicate<? super T> predicate) int
TreeSortedSet.detectIndex
(Predicate<? super T> predicate) int
UnmodifiableSortedSet.detectIndex
(Predicate<? super T> predicate) int
SortedSetAdapter.detectLastIndex
(Predicate<? super T> predicate) int
SynchronizedSortedSet.detectLastIndex
(Predicate<? super T> predicate) int
TreeSortedSet.detectLastIndex
(Predicate<? super T> predicate) int
UnmodifiableSortedSet.detectLastIndex
(Predicate<? super T> predicate) SortedSetAdapter.partitionWhile
(Predicate<? super T> predicate) SynchronizedSortedSet.partitionWhile
(Predicate<? super T> predicate) TreeSortedSet.partitionWhile
(Predicate<? super T> predicate) UnmodifiableSortedSet.partitionWhile
(Predicate<? super T> predicate) -
Uses of Predicate in org.eclipse.collections.impl.set.strategy.mutable
Methods in org.eclipse.collections.impl.set.strategy.mutable with parameters of type PredicateModifier and TypeMethodDescriptionUnifiedSetWithHashingStrategy.lazyReject
(Predicate<? super T> predicate) Deprecated.since 3.0.UnifiedSetWithHashingStrategy.lazySelect
(Predicate<? super T> predicate) Deprecated.since 3.0. -
Uses of Predicate in org.eclipse.collections.impl.stack.mutable
Methods in org.eclipse.collections.impl.stack.mutable with parameters of type PredicateModifier and TypeMethodDescriptionboolean
ArrayStack.allSatisfy
(Predicate<? super T> predicate) boolean
SynchronizedStack.allSatisfy
(Predicate<? super T> predicate) boolean
UnmodifiableStack.allSatisfy
(Predicate<? super T> predicate) boolean
ArrayStack.anySatisfy
(Predicate<? super T> predicate) boolean
SynchronizedStack.anySatisfy
(Predicate<? super T> predicate) boolean
UnmodifiableStack.anySatisfy
(Predicate<? super T> predicate) <V> ArrayStack<V>
<V,
R extends Collection<V>>
RArrayStack.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) <V> MutableStack<V>
SynchronizedStack.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V,
R extends Collection<V>>
RSynchronizedStack.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) <V> MutableStack<V>
UnmodifiableStack.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function) <V,
R extends Collection<V>>
RUnmodifiableStack.collectIf
(Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) int
int
int
ArrayStack.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) SynchronizedStack.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) UnmodifiableStack.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) int
ArrayStack.detectIndex
(Predicate<? super T> predicate) int
SynchronizedStack.detectIndex
(Predicate<? super T> predicate) int
UnmodifiableStack.detectIndex
(Predicate<? super T> predicate) ArrayStack.detectOptional
(Predicate<? super T> predicate) SynchronizedStack.detectOptional
(Predicate<? super T> predicate) UnmodifiableStack.detectOptional
(Predicate<? super T> predicate) boolean
ArrayStack.noneSatisfy
(Predicate<? super T> predicate) boolean
SynchronizedStack.noneSatisfy
(Predicate<? super T> predicate) boolean
UnmodifiableStack.noneSatisfy
(Predicate<? super T> predicate) ArrayStack.partitionWhile
(Predicate<? super T> predicate) SynchronizedStack.partitionWhile
(Predicate<? super T> predicate) UnmodifiableStack.partitionWhile
(Predicate<? super T> predicate) <R extends Collection<T>>
R<R extends Collection<T>>
R<R extends Collection<T>>
R<R extends Collection<T>>
R<R extends Collection<T>>
R<R extends Collection<T>>
R -
Uses of Predicate in org.eclipse.collections.impl.test
Methods in org.eclipse.collections.impl.test with parameters of type PredicateModifier and TypeMethodDescriptionstatic <T> void
Verify.assertAllSatisfy
(Iterable<T> iterable, Predicate<? super T> predicate) static <T> void
Verify.assertAllSatisfy
(String message, Iterable<T> iterable, Predicate<? super T> predicate) static <K,
V> void Verify.assertAllSatisfy
(Map<K, V> map, Predicate<? super V> predicate) static <T> void
Verify.assertAnySatisfy
(Iterable<T> iterable, Predicate<? super T> predicate) static <T> void
Verify.assertAnySatisfy
(String message, Iterable<T> iterable, Predicate<? super T> predicate) static <K,
V> void Verify.assertAnySatisfy
(Map<K, V> map, Predicate<? super V> predicate) static <T> void
Verify.assertCount
(int expectedCount, Iterable<T> iterable, Predicate<? super T> predicate) static <T> void
Verify.assertNoneSatisfy
(Iterable<T> iterable, Predicate<? super T> predicate) static <T> void
Verify.assertNoneSatisfy
(String message, Iterable<T> iterable, Predicate<? super T> predicate) static <K,
V> void Verify.assertNoneSatisfy
(Map<K, V> map, Predicate<? super V> predicate) -
Uses of Predicate in org.eclipse.collections.impl.utility
Methods in org.eclipse.collections.impl.utility with parameters of type PredicateModifier and TypeMethodDescriptionstatic <T> boolean
ArrayIterate.allSatisfy
(T[] objectArray, Predicate<? super T> predicate) static <T> boolean
ArrayListIterate.allSatisfy
(ArrayList<T> list, Predicate<? super T> predicate) static <T> boolean
Iterate.allSatisfy
(Iterable<T> iterable, Predicate<? super T> predicate) Returns true if the predicate evaluates to true for every element of the iterable, or returns false.static <T> boolean
ListIterate.allSatisfy
(List<T> list, Predicate<? super T> predicate) static <K,
V> boolean MapIterate.allSatisfy
(Map<K, V> map, Predicate<? super V> predicate) static <T> boolean
ArrayIterate.anySatisfy
(T[] objectArray, Predicate<? super T> predicate) static <T> boolean
ArrayListIterate.anySatisfy
(ArrayList<T> list, Predicate<? super T> predicate) static <T> boolean
Iterate.anySatisfy
(Iterable<T> iterable, Predicate<? super T> predicate) Returns true if the predicate evaluates to true for any element of the iterable.static <T> boolean
ListIterate.anySatisfy
(List<T> list, Predicate<? super T> predicate) static <K,
V> boolean MapIterate.anySatisfy
(Map<K, V> map, Predicate<? super V> predicate) static <T,
V> MutableList<V> ArrayIterate.collectIf
(T[] objectArray, Predicate<? super T> predicate, Function<? super T, ? extends V> function) static <T,
V, R extends Collection<V>>
RArrayIterate.collectIf
(T[] objectArray, Predicate<? super T> predicate, Function<? super T, ? extends V> function, R targetCollection) static <T,
A> ArrayList<A> ArrayListIterate.collectIf
(ArrayList<T> list, Predicate<? super T> predicate, Function<? super T, ? extends A> function) static <T,
A, R extends Collection<A>>
RArrayListIterate.collectIf
(ArrayList<T> list, Predicate<? super T> predicate, Function<? super T, ? extends A> function, R targetCollection) static <T,
V> Collection<V> Iterate.collectIf
(Iterable<T> iterable, Predicate<? super T> predicate, Function<? super T, ? extends V> function) static <T,
V, R extends Collection<V>>
RIterate.collectIf
(Iterable<T> iterable, Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) static <T,
V> LazyIterable<V> LazyIterate.collectIf
(Iterable<T> iterable, Predicate<? super T> predicate, Function<? super T, ? extends V> function) Creates a deferred filtering and transforming iterable for the specified iterable.static <T,
A> MutableList<A> ListIterate.collectIf
(List<T> list, Predicate<? super T> predicate, Function<? super T, ? extends A> function) static <T,
A, R extends Collection<A>>
RListIterate.collectIf
(List<T> list, Predicate<? super T> predicate, Function<? super T, ? extends A> function, R targetCollection) static <T> int
static <T> int
static <T> int
Returns the total number of elements that evaluate to true for the specified predicate.static <T> int
static <K,
V> int static <T> T
static <T> T
static <T> T
Returns the first element of the iterable that evaluates to true for the specified predicate, or null if no element evaluates to true.static <T> T
static <K,
V> V static <T> T
ArrayIterate.detectIfNone
(T[] objectArray, Predicate<? super T> predicate, T ifNone) static <T> T
ArrayListIterate.detectIfNone
(ArrayList<T> list, Predicate<? super T> predicate, T ifNone) static <T> T
Iterate.detectIfNone
(Iterable<T> iterable, Predicate<? super T> predicate, T ifNone) Returns the first element of the iterable that evaluates to true for the specified predicate, or returns the result ifNone if no element evaluates to true.static <T> T
ListIterate.detectIfNone
(List<T> list, Predicate<? super T> predicate, T ifNone) static <K,
V> V MapIterate.detectIfNone
(Map<K, V> map, Predicate<? super V> predicate, V ifNone) static <T> int
ArrayIterate.detectIndex
(T[] objectArray, Predicate<? super T> predicate) Returns the first index where the predicate evaluates totrue
.static <T> int
ArrayListIterate.detectIndex
(ArrayList<T> list, Predicate<? super T> predicate) static <T> int
Iterate.detectIndex
(Iterable<T> iterable, Predicate<? super T> predicate) Searches for the first occurrence where the predicate evaluates to true, returns -1 if the predicate does not evaluate to true.static <T> int
ListIterate.detectIndex
(List<T> list, Predicate<? super T> predicate) Searches for the first index where the predicate evaluates to true.static <T> int
ArrayIterate.detectLastIndex
(T[] objectArray, Predicate<? super T> predicate) Returns the last index where the predicate evaluates totrue
.static <T> int
ArrayListIterate.detectLastIndex
(ArrayList<T> list, Predicate<? super T> predicate) static <T> int
ListIterate.detectLastIndex
(List<T> list, Predicate<? super T> predicate) Returns the last index where the predicate evaluates to true.static <T> Optional<T>
ArrayIterate.detectOptional
(T[] objectArray, Predicate<? super T> predicate) static <T> Optional<T>
ArrayListIterate.detectOptional
(ArrayList<T> list, Predicate<? super T> predicate) static <T> Optional<T>
Iterate.detectOptional
(Iterable<T> iterable, Predicate<? super T> predicate) Returns the first element of the iterable that evaluates to true for the specified predicate as an Optional.static <T> Optional<T>
ListIterate.detectOptional
(List<T> list, Predicate<? super T> predicate) static <K,
V> Optional<V> MapIterate.detectOptional
(Map<K, V> map, Predicate<? super V> predicate) static <T> MutableList<T>
static <T> LazyIterable<T>
Creates a deferred dropWhile iterable for the specified iterable using the specified count as the size to drop.static <T> MutableList<T>
static <IV,
K, V> IV MapIterate.injectIntoIf
(IV initialValue, Map<K, V> map, Predicate<? super V> predicate, Function2<? super IV, ? super V, ? extends IV> function) Same asMapIterate.injectInto(Object, Map, Function2)
, but only applies the value to the function if the predicate returns true for the value.static <T> boolean
ArrayIterate.noneSatisfy
(T[] objectArray, Predicate<? super T> predicate) static <T> boolean
ArrayListIterate.noneSatisfy
(ArrayList<T> list, Predicate<? super T> predicate) static <T> boolean
Iterate.noneSatisfy
(Iterable<T> iterable, Predicate<? super T> predicate) Returns true if the predicate evaluates to false for every element of the iterable, or returns false.static <T> boolean
ListIterate.noneSatisfy
(List<T> list, Predicate<? super T> predicate) static <K,
V> boolean MapIterate.noneSatisfy
(Map<K, V> map, Predicate<? super V> predicate) static <T> PartitionFastList<T>
static <T> PartitionMutableList<T>
static <T> PartitionIterable<T>
Filters a collection into a PartitionIterable based on a predicate.static <T> PartitionMutableList<T>
static <T> PartitionMutableList<T>
ArrayListIterate.partitionWhile
(ArrayList<T> list, Predicate<? super T> predicate) static <T> PartitionMutableList<T>
ListIterate.partitionWhile
(List<T> list, Predicate<? super T> predicate) static <T> MutableList<T>
static <T,
R extends Collection<T>>
Rstatic <T> ArrayList<T>
static <T,
R extends Collection<T>>
Rstatic <T> Collection<T>
Returns all elements of the iterable that evaluate to false for the specified predicate.static <T,
R extends Collection<T>>
RSame as the reject method with one parameter but uses the specified target collection for the results.static <T> LazyIterable<T>
Creates a deferred negative filtering iterable for the specified iterable.static <T> MutableList<T>
static <T,
R extends Collection<T>>
Rstatic <K,
V> MutableList<V> static <K,
V, R extends Collection<V>>
Rstatic <T> boolean
static <T> boolean
Removes all elements from the iterable that evaluate to true for the specified predicate.static <T> boolean
static <T> boolean
static <T> MutableList<T>
static <T,
R extends Collection<T>>
Rstatic <T> ArrayList<T>
static <T,
R extends Collection<T>>
Rstatic <T> Collection<T>
Returns a new collection with only the elements that evaluated to true for the specified predicate.static <T,
R extends Collection<T>>
RSame as the select method with two parameters but uses the specified target collectionstatic <T> LazyIterable<T>
Creates a deferred filtering iterable for the specified iterable.static <T> MutableList<T>
static <T,
R extends Collection<T>>
Rstatic <K,
V> MutableList<V> static <K,
V, R extends Collection<V>>
Rstatic <K,
V> MutableMap<K, V> MapIterate.selectMapOnKey
(Map<K, V> map, Predicate<? super K> predicate) For each key of the source map, the Predicate is evaluated.static <K,
V> MutableMap<K, V> MapIterate.selectMapOnValue
(Map<K, V> map, Predicate<? super V> predicate) For each value of the source map, the Predicate is evaluated.static <T> MutableList<T>
static <T> LazyIterable<T>
Creates a deferred takeWhile iterable for the specified iterable using the specified predicate.static <T> MutableList<T>
-
Uses of Predicate in org.eclipse.collections.impl.utility.internal
Methods in org.eclipse.collections.impl.utility.internal with parameters of type PredicateModifier and TypeMethodDescriptionstatic <T> boolean
InternalArrayIterate.allSatisfy
(T[] array, int size, Predicate<? super T> predicate) static <T> boolean
IterableIterate.allSatisfy
(Iterable<T> iterable, Predicate<? super T> predicate) static <T> boolean
IteratorIterate.allSatisfy
(Iterator<T> iterator, Predicate<? super T> predicate) static <T> boolean
RandomAccessListIterate.allSatisfy
(List<T> list, Predicate<? super T> predicate) static <T> boolean
InternalArrayIterate.anySatisfy
(T[] array, int size, Predicate<? super T> predicate) static <T> boolean
IterableIterate.anySatisfy
(Iterable<T> iterable, Predicate<? super T> predicate) static <T> boolean
IteratorIterate.anySatisfy
(Iterator<T> iterator, Predicate<? super T> predicate) static <T> boolean
RandomAccessListIterate.anySatisfy
(List<T> list, Predicate<? super T> predicate) static <T,
V, R extends Collection<V>>
RInternalArrayIterate.collectIf
(T[] array, int size, Predicate<? super T> predicate, Function<? super T, ? extends V> function, R target) static <T,
V> MutableList<V> IterableIterate.collectIf
(Iterable<T> iterable, Predicate<? super T> predicate, Function<? super T, ? extends V> function) static <T,
V, R extends Collection<V>>
RIterableIterate.collectIf
(Iterable<T> iterable, Predicate<? super T> predicate, Function<? super T, ? extends V> function, R targetCollection) static <T,
V, R extends Collection<V>>
RIteratorIterate.collectIf
(Iterator<T> iterator, Predicate<? super T> predicate, Function<? super T, ? extends V> function, R targetCollection) static <T,
A> MutableList<A> RandomAccessListIterate.collectIf
(List<T> list, Predicate<? super T> predicate, Function<? super T, ? extends A> function) static <T,
A, R extends Collection<A>>
RRandomAccessListIterate.collectIf
(List<T> list, Predicate<? super T> predicate, Function<? super T, ? extends A> function, R targetCollection) static <T> int
static <T> int
static <T> int
static <T> int
static <T> T
static <T> T
static <T> T
static <T> T
static <T> int
InternalArrayIterate.detectIndex
(T[] objectArray, int size, Predicate<? super T> predicate) static <T> int
IterableIterate.detectIndex
(Iterable<T> iterable, Predicate<? super T> predicate) static <T> int
IteratorIterate.detectIndex
(Iterator<T> iterator, Predicate<? super T> predicate) static <T> int
RandomAccessListIterate.detectIndex
(List<T> list, Predicate<? super T> predicate) Searches for the first occurrence where the predicate evaluates to true.static <T> int
InternalArrayIterate.detectLastIndex
(T[] objectArray, int size, Predicate<? super T> predicate) static <T> int
RandomAccessListIterate.detectLastIndex
(List<T> list, Predicate<? super T> predicate) static <T> Optional<T>
InternalArrayIterate.detectOptional
(T[] array, int size, Predicate<? super T> predicate) static <T> Optional<T>
IterableIterate.detectOptional
(Iterable<T> iterable, Predicate<? super T> predicate) static <T> Optional<T>
IteratorIterate.detectOptional
(Iterator<T> iterator, Predicate<? super T> predicate) static <T> Optional<T>
RandomAccessListIterate.detectOptional
(List<T> list, Predicate<? super T> predicate) static <T,
R extends MutableCollection<T>>
Rstatic <T,
R extends MutableCollection<T>>
Rstatic <T> MutableList<T>
static <T> boolean
InternalArrayIterate.noneSatisfy
(T[] array, int size, Predicate<? super T> predicate) static <T> boolean
IterableIterate.noneSatisfy
(Iterable<T> iterable, Predicate<? super T> predicate) static <T> boolean
IteratorIterate.noneSatisfy
(Iterator<T> iterator, Predicate<? super T> predicate) static <T> boolean
RandomAccessListIterate.noneSatisfy
(List<T> list, Predicate<? super T> predicate) static <T> PartitionFastList<T>
static <T> PartitionMutableList<T>
static <T> PartitionMutableList<T>
static <T> PartitionMutableList<T>
static <T,
R extends PartitionMutableCollection<T>>
RIterableIterate.partitionWhile
(Iterable<T> iterable, Predicate<? super T> predicate, R target) static <T,
R extends PartitionMutableCollection<T>>
RIteratorIterate.partitionWhile
(Iterator<T> iterator, Predicate<? super T> predicate, R target) static <T> PartitionMutableList<T>
RandomAccessListIterate.partitionWhile
(List<T> list, Predicate<? super T> predicate) static <T,
R extends Collection<T>>
Rstatic <T> MutableList<T>
static <T,
R extends Collection<T>>
Rstatic <T,
R extends Collection<T>>
Rstatic <T> MutableList<T>
static <T,
R extends Collection<T>>
Rstatic <T> boolean
static <T> boolean
IterableIterate.removeIf
(Iterable<T> iterable, Predicate<? super T> predicate, Procedure<? super T> procedure) static <T> boolean
static <T> boolean
IteratorIterate.removeIf
(Iterator<T> iterator, Predicate<? super T> predicate, Procedure<? super T> procedure) static <T> boolean
static <T> boolean
RandomAccessListIterate.removeIf
(List<T> list, Predicate<? super T> predicate, Procedure<? super T> procedure) static <T,
R extends Collection<T>>
Rstatic <T> MutableList<T>
static <T,
R extends Collection<T>>
Rstatic <T,
R extends Collection<T>>
Rstatic <T> MutableList<T>
static <T,
R extends Collection<T>>
Rstatic <T> boolean
InternalArrayIterate.shortCircuit
(T[] array, int size, Predicate<? super T> predicate, boolean expected, boolean onShortCircuit, boolean atEnd) static <T> boolean
IteratorIterate.shortCircuit
(Iterator<T> iterator, Predicate<? super T> predicate, boolean expected, boolean onShortCircuit, boolean atEnd) static <T> boolean
RandomAccessListIterate.shortCircuit
(List<T> list, Predicate<? super T> predicate, boolean expected, boolean onShortCircuit, boolean atEnd) static <T,
R extends MutableCollection<T>>
Rstatic <T,
R extends MutableCollection<T>>
Rstatic <T> MutableList<T>