Uses of Interface
org.apache.commons.functor.UnaryFunctor
Packages that use UnaryFunctor
Package
Description
Basic functor interfaces.
Classes that adapt one functor interface to another.
Commonly used functor implementations.
Various algorithm-esque functors.
Collection-based functors, algorithms and utilities.Comparator- and
Comparable-based functors, algorithms and utilities.
Functors composed of other functors.
Contains utility code for Generators.
-
Uses of UnaryFunctor in org.apache.commons.functor
Subinterfaces of UnaryFunctor in org.apache.commons.functorModifier and TypeInterfaceDescriptioninterfaceUnaryFunction<A,T> A functor that takes one argument and returns anObjectvalue.interfaceA functor that takes one argument and returns abooleanvalue.interfaceA 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 UnaryFunctorModifier and TypeClassDescriptionfinal classAdapts a BinaryFunction as a UnaryFunction by sending the same argument to both sides of the BinaryFunction.final classAdapts a BinaryPredicate as a UnaryPredicate by sending the same argument to both sides of the BinaryPredicate.final classAdapts a BinaryProcedure as a UnaryProcedure by sending the same argument to both sides of the BinaryProcedure.final classAdapts aFunctionto theUnaryFunctioninterface by ignoring the unary argument.final classLeftBoundFunction<A,T> Adapts aBinaryFunctionto theUnaryFunctioninterface using a constant left-side argument.final classAdapts aBinaryPredicateto theUnaryPredicateinterface using a constant left-side argument.final classAdapts aBinaryProcedureto theUnaryProcedureinterface using a constant left-side argument.final classAdapts aPredicateto theUnaryPredicateinterface by ignoring the given argument.final classAdapts aProcedureto theUnaryProcedureinterface by ignoring the arguments.final classRightBoundFunction<A,T> Adapts aBinaryFunctionto theUnaryFunctioninterface using a constant right-side argument.final classAdapts aBinaryPredicateto theUnaryPredicateinterface using a constant left-side argument.final classAdapts aBinaryProcedureto theUnaryProcedureinterface using a constant left-side argument.final classfinal classAdapts aUnaryFunctionto theUnaryProcedureinterface by ignoring the value returned by the function.final classAdapts aUnaryPredicateto theUnaryFunctioninterface.final class -
Uses of UnaryFunctor in org.apache.commons.functor.core
Classes in org.apache.commons.functor.core that implement UnaryFunctorModifier and TypeClassDescriptionfinal classConstant<T>Evaluatesto constant value.final classIdentity<T>Evaluatesto its input argument.final classIsNotNull<T>final classIsNull<A>final classA predicate that returnstruethe first n times it is invoked.final classA procedure that does nothing at all.final classA 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 UnaryFunctorModifier and TypeClassDescriptionprivate static classHelper procedure.classFoldLeft<T>Functional left-fold algorithm against the elements of aGenerator.private static classHelper procedure.classFoldRight<T>Functional right-fold algorithm against the elements of aGenerator.private static classHelper class.private static classHelper procedure.private static classHelper procedure. -
Uses of UnaryFunctor in org.apache.commons.functor.core.collection
Classes in org.apache.commons.functor.core.collection that implement UnaryFunctor -
Uses of UnaryFunctor in org.apache.commons.functor.core.comparator
Classes in org.apache.commons.functor.core.comparator that implement UnaryFunctorModifier and TypeClassDescriptionclassIsWithinRange<A extends 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 UnaryFunctorModifier and TypeClassDescription(package private) classAbstract base class forUnaryPredicatescomposed of a list ofUnaryPredicates.classAUnaryFunctionrepresenting the composition ofUnaryFunctions, "chaining" the output of one to the input of another.private static classEncapsulates a double function evaluation.final classAUnaryPredicaterepresenting the composition ofUnaryFunctions, "chaining" the output of one to the input of another.final classAUnaryProcedurerepresenting the composition ofUnaryFunctions, "chaining" the output of one to the input of another.final classAUnaryFunctionsimiliar to Java's "ternary" or "conditional" operator (? :).final classAUnaryPredicatesimiliar to Java's "ternary" or "conditional" operator (? :).final classAUnaryProceduresimiliar to Java's "ternary" or "conditional" operator (? :).final classUnaryAnd<A>final classUnaryNot<A>Teststo the logical inverse of some other predicate.final classUnaryOr<A>class -
Uses of UnaryFunctor in org.apache.commons.functor.generator.util
Classes in org.apache.commons.functor.generator.util that implement UnaryFunctorModifier and TypeClassDescriptionclassTransforms a generator into a collection.