Uses of Interface
org.apache.commons.functor.Procedure
Packages that use Procedure
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 Procedure in org.apache.commons.functor.adapter
Classes in org.apache.commons.functor.adapter that implement ProcedureModifier and TypeClassDescriptionfinal classAdapts aUnaryProcedureto theProcedureinterface using a constant unary argument.final classAdapts aBinaryProcedureto theProcedureinterface using a constant left-side argument.final classFields in org.apache.commons.functor.adapter declared as ProcedureModifier and TypeFieldDescriptionprivate final ProcedureProcedureFunction.procedureTheProcedureI'm wrapping.private final ProcedureProcedureUnaryProcedure.procedureTheProcedureI'm wrapping.Methods in org.apache.commons.functor.adapter with parameters of type ProcedureModifier and TypeMethodDescriptionstatic <T> ProcedureFunction<T> Adapt a Procedure as a Function.static <A> ProcedureUnaryProcedure<A> Adapt a Procedure to the UnaryProcedure interface.Constructors in org.apache.commons.functor.adapter with parameters of type ProcedureModifierConstructorDescriptionProcedureFunction(Procedure procedure) Create a new ProcedureFunction.ProcedureUnaryProcedure(Procedure procedure) Create a new ProcedureUnaryProcedure. -
Uses of Procedure in org.apache.commons.functor.core
Classes in org.apache.commons.functor.core that implement Procedure -
Uses of Procedure in org.apache.commons.functor.core.algorithm
Classes in org.apache.commons.functor.core.algorithm that implement ProcedureModifier and TypeClassDescriptionclassDo-until algorithm (test after).classDo-while algorithm (test after).(package private) classBase class for predicated procedure algorithms.classUntil-do algorithm (test before).classWhile-do algorithm (test before).Fields in org.apache.commons.functor.core.algorithm declared as ProcedureModifier and TypeFieldDescriptionprivate final ProcedurePredicatedLoop.bodyThe procedure body to execute.Methods in org.apache.commons.functor.core.algorithm that return ProcedureModifier and TypeMethodDescriptionprotected ProcedurePredicatedLoop.getBody()Get the body of this loop.Constructors in org.apache.commons.functor.core.algorithm with parameters of type ProcedureModifierConstructorDescriptionCreate a new DoUntil.Create a new DoWhile.protectedPredicatedLoop(Procedure body, Predicate test) Create a new PredicatedLoop.Create a new UntilDo.Create a new WhileDo. -
Uses of Procedure in org.apache.commons.functor.core.composite
Classes in org.apache.commons.functor.core.composite that implement ProcedureModifier and TypeClassDescriptionclassAbstract base class forWhileDoProcedureandDoWhileProcedureused to implement loop procedures.final classAProceduresimiliar to Java's "ternary" or "conditional" operator (? :).classAProcedureimplementation of a while loop.classclassA Procedure composed of a Function whose result is then run through a UnaryProcedure.private static final classType-remembering helper.classAProcedureimplementation of a while loop.Fields in org.apache.commons.functor.core.composite declared as ProcedureModifier and TypeFieldDescriptionprivate final ProcedureAbstractLoopProcedure.actionThe action to be repeated until the condition is true.private final ProcedureConditionalProcedure.elseProcthe procedure executed if the condition is not satisfied.private final ProcedureConditionalProcedure.thenProcthe procedure executed if the condition is satisfied.Fields in org.apache.commons.functor.core.composite with type parameters of type ProcedureModifier and TypeFieldDescriptionSequence.listThe data structure where storing procedures sequence.Methods in org.apache.commons.functor.core.composite that return ProcedureModifier and TypeMethodDescriptionprotected final ProcedureAbstractLoopProcedure.getAction()Get the action.static ProcedureCreate a guarded Procedure.static ProcedureCreate a conditional Procedure.Methods in org.apache.commons.functor.core.composite with parameters of type ProcedureModifier and TypeMethodDescriptionstatic ProcedureCreate a guarded Procedure.static ProcedureCreate a conditional Procedure.final SequenceFluently add a Procedure.Constructors in org.apache.commons.functor.core.composite with parameters of type ProcedureModifierConstructorDescriptionprotectedAbstractLoopProcedure(Predicate condition, Procedure action) Create a new AbstractLoopProcedure.ConditionalProcedure(Predicate ifPred, Procedure thenProc) Create a new ConditionalProcedure.ConditionalProcedure(Predicate ifPred, Procedure thenProc, Procedure elseProc) Create a new ConditionalProcedure.DoWhileProcedure(Procedure action, Predicate condition) Create a new DoWhileProcedure.Create a new Sequence instance.WhileDoProcedure(Predicate condition, Procedure action) Create a new WhileDoProcedure.Constructor parameters in org.apache.commons.functor.core.composite with type arguments of type Procedure