Uses of Interface
org.apache.commons.functor.UnaryFunctor
-
Packages that use UnaryFunctor Package Description org.apache.commons.functor Basic functor interfaces.org.apache.commons.functor.adapter Classes that adapt one functor interface to another.org.apache.commons.functor.core Commonly used functor implementations.org.apache.commons.functor.core.algorithm Various algorithm-esque functors.org.apache.commons.functor.core.collection Collection-based functors, algorithms and utilities.org.apache.commons.functor.core.comparator Comparator- andComparable-based functors, algorithms and utilities.org.apache.commons.functor.core.composite Functors composed of other functors.org.apache.commons.functor.generator.util Contains utility code for Generators. -
-
Uses of UnaryFunctor in org.apache.commons.functor
Subinterfaces of UnaryFunctor in org.apache.commons.functor Modifier and Type Interface Description interfaceUnaryFunction<A,T>A functor that takes one argument and returns anObjectvalue.interfaceUnaryPredicate<A>A functor that takes one argument and returns abooleanvalue.interfaceUnaryProcedure<A>A functor that takes one argument and returns no value. -
Uses of UnaryFunctor in org.apache.commons.functor.adapter
Classes in org.apache.commons.functor.adapter that implement UnaryFunctor Modifier and Type Class Description classBinaryFunctionUnaryFunction<A,T>Adapts a BinaryFunction as a UnaryFunction by sending the same argument to both sides of the BinaryFunction.classBinaryPredicateUnaryPredicate<A>Adapts a BinaryPredicate as a UnaryPredicate by sending the same argument to both sides of the BinaryPredicate.classBinaryProcedureUnaryProcedure<A>Adapts a BinaryProcedure as a UnaryProcedure by sending the same argument to both sides of the BinaryProcedure.classFunctionUnaryFunction<A,T>Adapts aFunctionto theUnaryFunctioninterface by ignoring the unary argument.classLeftBoundFunction<A,T>Adapts aBinaryFunctionto theUnaryFunctioninterface using a constant left-side argument.classLeftBoundPredicate<A>Adapts aBinaryPredicateto theUnaryPredicateinterface using a constant left-side argument.classLeftBoundProcedure<A>Adapts aBinaryProcedureto theUnaryProcedureinterface using a constant left-side argument.classPredicateUnaryPredicate<A>Adapts aPredicateto theUnaryPredicateinterface by ignoring the given argument.classProcedureUnaryProcedure<A>Adapts aProcedureto theUnaryProcedureinterface by ignoring the arguments.classRightBoundFunction<A,T>Adapts aBinaryFunctionto theUnaryFunctioninterface using a constant right-side argument.classRightBoundPredicate<A>Adapts aBinaryPredicateto theUnaryPredicateinterface using a constant left-side argument.classRightBoundProcedure<A>Adapts aBinaryProcedureto theUnaryProcedureinterface using a constant left-side argument.classUnaryFunctionUnaryPredicate<A>classUnaryFunctionUnaryProcedure<A>Adapts aUnaryFunctionto theUnaryProcedureinterface by ignoring the value returned by the function.classUnaryPredicateUnaryFunction<A>Adapts aUnaryPredicateto theUnaryFunctioninterface.classUnaryProcedureUnaryFunction<A,T> -
Uses of UnaryFunctor in org.apache.commons.functor.core
Classes in org.apache.commons.functor.core that implement UnaryFunctor Modifier and Type Class Description classConstant<T>Evaluatesto constant value.classIdentity<T>Evaluatesto its input argument.classIsNotNull<T>classIsNull<A>classLimitA predicate that returnstruethe first n times it is invoked.classNoOpA procedure that does nothing at all.classOffsetA predicate that returnsfalsethe first n times it is invoked, andtruethereafter. -
Uses of UnaryFunctor in org.apache.commons.functor.core.algorithm
Classes in org.apache.commons.functor.core.algorithm that implement UnaryFunctor Modifier and Type Class Description private static classFindWithinGenerator.FindProcedure<T>Helper procedure.classFoldLeft<T>Functional left-fold algorithm against the elements of aGenerator.private static classFoldLeft.FoldLeftHelper<T>Helper procedure.classFoldRight<T>Functional right-fold algorithm against the elements of aGenerator.private static classFoldRight.FoldRightHelper<T>Helper class.private static classGeneratorContains.ContainsProcedure<T>Helper procedure.private static classIndexOfInGenerator.IndexProcedure<T>Helper procedure. -
Uses of UnaryFunctor in org.apache.commons.functor.core.collection
Classes in org.apache.commons.functor.core.collection that implement UnaryFunctor Modifier and Type Class Description classIsEmpty<A>classSize<A>Returns the size of the specified Collection, or the length of the specified array or String. -
Uses of UnaryFunctor in org.apache.commons.functor.core.comparator
Classes in org.apache.commons.functor.core.comparator that implement UnaryFunctor Modifier and Type Class Description classIsWithinRange<A extends java.lang.Comparable<A>>AUnaryPredicatethat tests whether aComparableobject is within a range. -
Uses of UnaryFunctor in org.apache.commons.functor.core.composite
Classes in org.apache.commons.functor.core.composite that implement UnaryFunctor Modifier and Type Class Description (package private) classBaseUnaryPredicateList<A>Abstract base class forUnaryPredicatescomposed of a list ofUnaryPredicates.classCompositeUnaryFunction<A,T>AUnaryFunctionrepresenting the composition ofUnaryFunctions, "chaining" the output of one to the input of another.private static classCompositeUnaryFunction.Helper<X,A,T>Encapsulates a double function evaluation.classCompositeUnaryPredicate<A>AUnaryPredicaterepresenting the composition ofUnaryFunctions, "chaining" the output of one to the input of another.classCompositeUnaryProcedure<A>AUnaryProcedurerepresenting the composition ofUnaryFunctions, "chaining" the output of one to the input of another.classConditionalUnaryFunction<A,T>AUnaryFunctionsimiliar to Java's "ternary" or "conditional" operator (? :).classConditionalUnaryPredicate<A>AUnaryPredicatesimiliar to Java's "ternary" or "conditional" operator (? :).classConditionalUnaryProcedure<A>AUnaryProceduresimiliar to Java's "ternary" or "conditional" operator (? :).classUnaryAnd<A>classUnaryNot<A>Teststo the logical inverse of some other predicate.classUnaryOr<A>classUnarySequence<A> -
Uses of UnaryFunctor in org.apache.commons.functor.generator.util
Classes in org.apache.commons.functor.generator.util that implement UnaryFunctor Modifier and Type Class Description classCollectionTransformer<E>Transforms a generator into a collection.
-