Uses of Interface
org.apache.commons.functor.Procedure

Packages that use Procedure
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 Procedure in org.apache.commons.functor.adapter
 

Classes in org.apache.commons.functor.adapter that implement Procedure
 class BoundProcedure
          Adapts a UnaryProcedure to the Procedure interface using a constant unary argument.
 class FullyBoundProcedure
          Adapts a BinaryProcedure to the Procedure interface using a constant left-side argument.
 class FunctionProcedure
          Adapts a Function to the Procedure interface by ignoring the value returned by the function.
 

Methods in org.apache.commons.functor.adapter with parameters of type Procedure
static
<A> ProcedureUnaryProcedure<A>
ProcedureUnaryProcedure.adapt(Procedure procedure)
          Adapt a Procedure to the UnaryProcedure interface.
static
<T> ProcedureFunction<T>
ProcedureFunction.adapt(Procedure procedure)
          Adapt a Procedure as a Function.
 

Constructors in org.apache.commons.functor.adapter with parameters of type Procedure
ProcedureFunction(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
 class NoOp
          A procedure that does nothing at all.
 

Uses of Procedure in org.apache.commons.functor.core.algorithm
 

Classes in org.apache.commons.functor.core.algorithm that implement Procedure
 class DoUntil
          Do-until algorithm (test after).
 class DoWhile
          Do-while algorithm (test after).
 class UntilDo
          Until-do algorithm (test before).
 class WhileDo
          While-do algorithm (test before).
 

Constructors in org.apache.commons.functor.core.algorithm with parameters of type Procedure
DoUntil(Procedure body, Predicate test)
          Create a new DoUntil.
DoWhile(Procedure body, Predicate test)
          Create a new DoWhile.
UntilDo(Predicate test, Procedure body)
          Create a new UntilDo.
WhileDo(Predicate test, Procedure body)
          Create a new WhileDo.
 

Uses of Procedure in org.apache.commons.functor.core.composite
 

Classes in org.apache.commons.functor.core.composite that implement Procedure
 class AbstractLoopProcedure
          Abstract base class for WhileDoProcedure and DoWhileProcedure used to implement loop procedures.
 class ConditionalProcedure
          A Procedure similiar to Java's "ternary" or "conditional" operator (? :).
 class DoWhileProcedure
          A Procedure implementation of a while loop.
 class Sequence
          A Procedure that runs an ordered sequence of Procedures.
 class TransformedProcedure
          A Procedure composed of a Function whose result is then run through a UnaryProcedure.
 class WhileDoProcedure
          A Procedure implementation of a while loop.
 

Methods in org.apache.commons.functor.core.composite that return Procedure
protected  Procedure AbstractLoopProcedure.getAction()
          Get the action.
static Procedure Conditional.procedure(Predicate q, Procedure r)
          Create a guarded Procedure.
static Procedure Conditional.procedure(Predicate q, Procedure r, Procedure s)
          Create a conditional Procedure.
 

Methods in org.apache.commons.functor.core.composite with parameters of type Procedure
static Procedure Conditional.procedure(Predicate q, Procedure r)
          Create a guarded Procedure.
static Procedure Conditional.procedure(Predicate q, Procedure r, Procedure s)
          Create a conditional Procedure.
 Sequence Sequence.then(Procedure p)
          Fluently add a Procedure.
 

Constructors in org.apache.commons.functor.core.composite with parameters of type Procedure
AbstractLoopProcedure(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.
Sequence(Procedure... procedures)
          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
Sequence(Iterable<Procedure> procedures)
          Create a new Sequence instance.
 



Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.