Uses of Interface
org.apache.commons.functor.NullaryFunctor
-
Packages that use NullaryFunctor 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.composite Functors composed of other functors. -
-
Uses of NullaryFunctor in org.apache.commons.functor
Subinterfaces of NullaryFunctor in org.apache.commons.functor Modifier and Type Interface Description interfaceFunction<T>A functor that takes no arguments and returns a value.interfacePredicateA functor that takes no arguments and returns abooleanvalue.interfaceProcedureA functor that takes no arguments and returns no value. -
Uses of NullaryFunctor in org.apache.commons.functor.adapter
Classes in org.apache.commons.functor.adapter that implement NullaryFunctor Modifier and Type Class Description classBoundFunction<T>Adapts aUnaryFunctionto theFunctioninterface using a constant unary argument.classBoundPredicateAdapts aUnaryPredicateto thePredicateinterface using a constant unary argument.classBoundProcedureAdapts aUnaryProcedureto theProcedureinterface using a constant unary argument.classFullyBoundFunction<T>Adapts aBinaryFunctionto theFunctioninterface using constant arguments.classFullyBoundPredicateAdapts aBinaryPredicateto theUnaryPredicateinterface using a constant left-side argument.classFullyBoundProcedureAdapts aBinaryProcedureto theProcedureinterface using a constant left-side argument.classFunctionPredicateclassFunctionProcedureclassPredicateFunctionclassProcedureFunction<T> -
Uses of NullaryFunctor in org.apache.commons.functor.core
Classes in org.apache.commons.functor.core that implement NullaryFunctor Modifier and Type Class Description classConstant<T>Evaluatesto constant value.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 NullaryFunctor in org.apache.commons.functor.core.algorithm
Classes in org.apache.commons.functor.core.algorithm that implement NullaryFunctor Modifier and Type Class Description classDoUntilDo-until algorithm (test after).classDoWhileDo-while algorithm (test after).(package private) classPredicatedLoopBase class for predicated procedure algorithms.classRecursiveEvaluationTail recursion forfunctions.classUntilDoUntil-do algorithm (test before).classWhileDoWhile-do algorithm (test before). -
Uses of NullaryFunctor in org.apache.commons.functor.core.composite
Classes in org.apache.commons.functor.core.composite that implement NullaryFunctor Modifier and Type Class Description classAbstractLoopProcedureAbstract base class forWhileDoProcedureandDoWhileProcedureused to implement loop procedures.classAnd(package private) classBasePredicateListAbstract base class forPredicatescomposed of a list ofPredicates.classConditionalFunction<T>AFunctionsimiliar to Java's "ternary" or "conditional" operator (? :).classConditionalPredicateAPredicatesimiliar to Java's "ternary" or "conditional" operator (? :).classConditionalProcedureAProceduresimiliar to Java's "ternary" or "conditional" operator (? :).classDoWhileProcedureAProcedureimplementation of a while loop.classNotTeststo the logical inverse of some other predicate.classOrclassSequenceclassTransformedFunction<T>A Function whose result is then run through a UnaryFunction.private static classTransformedFunction.Helper<X,T>Type-remembering helper.classTransformedProcedureA Procedure composed of a Function whose result is then run through a UnaryProcedure.private static classTransformedProcedure.Helper<X>Type-remembering helper.classWhileDoProcedureAProcedureimplementation of a while loop.
-