Uses of Interface
org.apache.commons.functor.Function
Packages that use Function
Package
Description
Classes that adapt one functor interface to another.
Commonly used functor implementations.
Various algorithm-esque functors.
Functors composed of other functors.
-
Uses of Function in org.apache.commons.functor.adapter
Classes in org.apache.commons.functor.adapter that implement FunctionModifier and TypeClassDescriptionfinal classAdapts aUnaryFunctionto theFunctioninterface using a constant unary argument.final classAdapts aBinaryFunctionto theFunctioninterface using constant arguments.final classfinal classFields in org.apache.commons.functor.adapter declared as FunctionModifier and TypeFieldDescriptionFunctionPredicate.functionTheFunctionI'm wrapping.private final Function<?> FunctionProcedure.functionTheFunctionI'm wrapping.FunctionUnaryFunction.functionTheFunctionI'm wrapping.Methods in org.apache.commons.functor.adapter with parameters of type FunctionModifier and TypeMethodDescriptionstatic FunctionPredicateAdapt a Function as a Predicate.static FunctionProcedurestatic <A,T> FunctionUnaryFunction <A, T> Adapt a Function to the UnaryFunction interface.Constructors in org.apache.commons.functor.adapter with parameters of type FunctionModifierConstructorDescriptionFunctionPredicate(Function<Boolean> function) Create a new FunctionPredicate.FunctionProcedure(Function<?> function) FunctionUnaryFunction(Function<? extends T> function) Create a new FunctionUnaryFunction. -
Uses of Function in org.apache.commons.functor.core
Classes in org.apache.commons.functor.core that implement Function -
Uses of Function in org.apache.commons.functor.core.algorithm
Classes in org.apache.commons.functor.core.algorithm that implement FunctionFields in org.apache.commons.functor.core.algorithm declared as FunctionModifier and TypeFieldDescriptionprivate Function<?> RecursiveEvaluation.functionThe initial, potentially recursive Function.Methods in org.apache.commons.functor.core.algorithm with parameters of type FunctionModifier and TypeMethodDescriptionprivate static Class<?> Get the class of the specified object, ornullifoisnull.Constructors in org.apache.commons.functor.core.algorithm with parameters of type FunctionModifierConstructorDescriptionRecursiveEvaluation(Function<?> function) Create a new RecursiveEvaluation.RecursiveEvaluation(Function<?> function, Class<?> functionType) Create a new RecursiveEvaluation. -
Uses of Function in org.apache.commons.functor.core.composite
Classes in org.apache.commons.functor.core.composite that implement FunctionModifier and TypeClassDescriptionfinal classAFunctionsimiliar to Java's "ternary" or "conditional" operator (? :).classA Function whose result is then run through a UnaryFunction.private static final classType-remembering helper.Fields in org.apache.commons.functor.core.composite declared as FunctionModifier and TypeFieldDescriptionConditionalFunction.elseFuncthe function executed if the condition is not satisfied.TransformedProcedure.Helper.functionThe adapted function.TransformedFunction.Helper.precedingThe preceding function.ConditionalFunction.thenFuncthe function executed if the condition is satisfied.Methods in org.apache.commons.functor.core.composite that return FunctionMethods in org.apache.commons.functor.core.composite with parameters of type FunctionConstructors in org.apache.commons.functor.core.composite with parameters of type FunctionModifierConstructorDescriptionConditionalFunction(Predicate ifPred, Function<? extends T> thenFunc, Function<? extends T> elseFunc) Create a new ConditionalFunction.privateCreate a new Helper.privateHelper(Function<? extends X> function, UnaryProcedure<? super X> procedure) Create a new Helper.<X>TransformedFunction(Function<? extends X> preceding, UnaryFunction<? super X, ? extends T> following) Create a new TransformedFunction.<X>TransformedProcedure(Function<? extends X> function, UnaryProcedure<? super X> procedure) Create a new TransformedProcedure.