Package org.apache.commons.functor.adapter
package org.apache.commons.functor.adapter
Classes that adapt one functor interface to another.
-
ClassesClassDescriptionAdapts a
BinaryFunctionto theBinaryProcedureinterface by ignoring the value returned by the function.Adapts a BinaryFunction as a UnaryFunction by sending the same argument to both sides of the BinaryFunction.Adapts aBinaryPredicateto theBinaryFunctioninterface.Adapts a BinaryPredicate as a UnaryPredicate by sending the same argument to both sides of the BinaryPredicate.Adapts a BinaryProcedure as a UnaryProcedure by sending the same argument to both sides of the BinaryProcedure.Adapts aUnaryFunctionto theFunctioninterface using a constant unary argument.Adapts aUnaryPredicateto thePredicateinterface using a constant unary argument.Adapts aUnaryProcedureto theProcedureinterface using a constant unary argument.Adapts aBinaryFunctionto theFunctioninterface using constant arguments.Adapts aBinaryPredicateto theUnaryPredicateinterface using a constant left-side argument.Adapts aBinaryProcedureto theProcedureinterface using a constant left-side argument.Adapts aFunctionto theUnaryFunctioninterface by ignoring the unary argument.IgnoreLeftFunction<L,R, T> Adapts aUnaryFunctionto theBinaryFunctioninterface by ignoring the first binary argument.IgnoreLeftPredicate<L,R> Adapts aUnaryPredicateto theBinaryPredicateinterface by ignoring the first binary argument.IgnoreLeftProcedure<L,R> Adapts aUnaryProcedureto theBinaryProcedureinterface by ignoring the first binary argument.IgnoreRightFunction<L,R, T> Adapts aUnaryFunctionto theBinaryFunctioninterface by ignoring the second binary argument.IgnoreRightPredicate<L,R> Adapts aUnaryPredicateto theBinaryPredicateinterface by ignoring the second binary argument.IgnoreRightProcedure<L,R> Adapts aUnaryProcedureto theBinaryProcedureinterface by ignoring the second binary argument.LeftBoundFunction<A,T> Adapts aBinaryFunctionto theUnaryFunctioninterface using a constant left-side argument.Adapts aBinaryPredicateto theUnaryPredicateinterface using a constant left-side argument.Adapts aBinaryProcedureto theUnaryProcedureinterface using a constant left-side argument.Adapts aPredicateto theUnaryPredicateinterface by ignoring the given argument.Adapts aProcedureto theUnaryProcedureinterface by ignoring the arguments.RightBoundFunction<A,T> Adapts aBinaryFunctionto theUnaryFunctioninterface using a constant right-side argument.Adapts aBinaryPredicateto theUnaryPredicateinterface using a constant left-side argument.Adapts aBinaryProcedureto theUnaryProcedureinterface using a constant left-side argument.Adapts aUnaryFunctionto theUnaryProcedureinterface by ignoring the value returned by the function.Adapts aUnaryPredicateto theUnaryFunctioninterface.