Package org.eclipse.collections.impl.block.factory
package org.eclipse.collections.impl.block.factory
This package contains factory implementations for
Function
, Predicate
, SerializableComparator
and Procedure
.-
ClassDescriptionComparators.NaturalOrderComparator<T extends Comparable<T>>Functions.BindFunction2<T1,
T2, T3> Functions.BindProcedure<T1,T2> Functions.BindProcedure2<T1,T2, T3> Functions.ByteFunctionChain<T1,T2> Functions.CharFunctionChain<T1,T2> Functions.FirstNotEmptyCollectionFunction<T1,T2, I extends Iterable<T2>> Functions.FloatFunctionChain<T1,T2> Functions.FunctionChain<T1,T2, T3> Functions.IntFunctionChain<T1,T2> Functions.LongFunctionChain<T1,T2> Functions.ShortFunctionChain<T1,T2> Contains factory methods for creatingFunction2
instances.Functions2.FunctionAdapter<T,P, V> Functions2.MaxByFunction2<T,V extends Comparable<? super V>> Functions2.MinByFunction2<T,V extends Comparable<? super V>> Contains factory methods for creatingObjectIntProcedure
instances.Predicates<T>The Predicates class can be used to build common Predicates for use in methods such as detect, select and reject which are found on Iterate, MapIterate, and ArrayIterate classes.Predicates.BetweenExclusive<T extends Comparable<? super T>>Predicates.BetweenInclusive<T extends Comparable<? super T>>Predicates.BetweenInclusiveFrom<T extends Comparable<? super T>>Predicates.BetweenInclusiveTo<T extends Comparable<? super T>>Predicates.CompareToPredicate<T extends Comparable<? super T>>Predicates.GreaterThanOrEqualPredicate<T extends Comparable<? super T>>Predicates.GreaterThanPredicate<T extends Comparable<? super T>>Predicates.LessThanOrEqualPredicate<T extends Comparable<? super T>>Predicates.LessThanPredicate<T extends Comparable<? super T>>Predicates.RangePredicate<T extends Comparable<? super T>>Predicates2<T,P> Predicates2 is a static version of Predicates.Predicates2.And<T,P> Predicates2.GreaterThan<T extends Comparable<T>>Predicates2.GreaterThanOrEqual<T extends Comparable<T>>Predicates2.LessThan<T extends Comparable<T>>Predicates2.LessThanOrEqual<T extends Comparable<T>>Predicates2.Not<T,P> Predicates2.Or<T,P> Factory class for commonly used procedures.Contains factory methods for creatingProcedure2
instances.The StringPredicates class is a factory that produces Predicates that work with Strings.The StringPredicates2 class is a factory that produces Predicate2 instances that work with Strings.