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

Packages that use UnaryProcedure
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.composite Functors composed of other functors. 
org.apache.commons.functor.generator Contains code related to Generators. 
org.apache.commons.functor.generator.util Contains utility code for Generators. 
 

Uses of UnaryProcedure in org.apache.commons.functor.adapter
 

Classes in org.apache.commons.functor.adapter that implement UnaryProcedure
 class BinaryProcedureUnaryProcedure<A>
          Adapts a BinaryProcedure as a UnaryProcedure by sending the same argument to both sides of the BinaryProcedure.
 class LeftBoundProcedure<A>
          Adapts a BinaryProcedure to the UnaryProcedure interface using a constant left-side argument.
 class ProcedureUnaryProcedure<A>
          Adapts a Procedure to the UnaryProcedure interface by ignoring the arguments.
 class RightBoundProcedure<A>
          Adapts a BinaryProcedure to the UnaryProcedure interface using a constant left-side argument.
 class UnaryFunctionUnaryProcedure<A>
          Adapts a UnaryFunction to the UnaryProcedure interface by ignoring the value returned by the function.
 

Methods in org.apache.commons.functor.adapter that return UnaryProcedure
static
<A> UnaryProcedure<A>
BinaryProcedureUnaryProcedure.adapt(BinaryProcedure<? super A,? super A> procedure)
          Adapt a BinaryProcedure as a UnaryProcedure.
 

Methods in org.apache.commons.functor.adapter with parameters of type UnaryProcedure
static
<A,T> UnaryProcedureUnaryFunction<A,T>
UnaryProcedureUnaryFunction.adapt(UnaryProcedure<? super A> procedure)
          Adapt a UnaryProcedure to the UnaryFunction interface.
static
<L,R> IgnoreRightProcedure<L,R>
IgnoreRightProcedure.adapt(UnaryProcedure<? super L> procedure)
          Adapt a UnaryProcedure to the BinaryProcedure interface.
static
<L,R> IgnoreLeftProcedure<L,R>
IgnoreLeftProcedure.adapt(UnaryProcedure<? super R> procedure)
          Adapt a UnaryProcedure to the BinaryProcedure interface.
static
<A> BoundProcedure
BoundProcedure.bind(UnaryProcedure<? super A> procedure, A arg)
          Adapt the given, possibly-null, UnaryProcedure to the Procedure interface by binding the specified Object as a constant argument.
 

Constructors in org.apache.commons.functor.adapter with parameters of type UnaryProcedure
BoundProcedure(UnaryProcedure<? super A> procedure, A arg)
          Create a new BoundProcedure instance.
IgnoreLeftProcedure(UnaryProcedure<? super R> procedure)
          Create a new IgnoreLeftProcedure.
IgnoreRightProcedure(UnaryProcedure<? super L> procedure)
          Create a new IgnoreRightProcedure.
UnaryProcedureUnaryFunction(UnaryProcedure<? super A> procedure)
          Create a new UnaryProcedureUnaryFunction.
 

Uses of UnaryProcedure in org.apache.commons.functor.core
 

Classes in org.apache.commons.functor.core that implement UnaryProcedure
 class NoOp
          A procedure that does nothing at all.
 

Methods in org.apache.commons.functor.core that return UnaryProcedure
static
<A> UnaryProcedure<A>
NoOp.unaryInstance()
          Get a typed NoOp UnaryProcedure.
 

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

Classes in org.apache.commons.functor.core.composite that implement UnaryProcedure
 class CompositeUnaryProcedure<A>
          A UnaryProcedure representing the composition of UnaryFunctions, "chaining" the output of one to the input of another.
 class ConditionalUnaryProcedure<A>
          A UnaryProcedure similiar to Java's "ternary" or "conditional" operator (? :).
 class UnarySequence<A>
          A UnaryProcedure that runs an ordered sequence of UnaryProcedures.
 

Methods in org.apache.commons.functor.core.composite that return UnaryProcedure
static
<A> UnaryProcedure<A>
Conditional.procedure(UnaryPredicate<? super A> q, UnaryProcedure<? super A> r)
          Create a guarded UnaryProcedure.
static
<A> UnaryProcedure<A>
Conditional.procedure(UnaryPredicate<? super A> q, UnaryProcedure<? super A> r, UnaryProcedure<? super A> s)
          Create a conditional UnaryProcedure.
 

Methods in org.apache.commons.functor.core.composite with parameters of type UnaryProcedure
static
<A> UnaryProcedure<A>
Conditional.procedure(UnaryPredicate<? super A> q, UnaryProcedure<? super A> r)
          Create a guarded UnaryProcedure.
static
<A> UnaryProcedure<A>
Conditional.procedure(UnaryPredicate<? super A> q, UnaryProcedure<? super A> r, UnaryProcedure<? super A> s)
          Create a conditional UnaryProcedure.
static
<A> UnaryProcedure<A>
Conditional.procedure(UnaryPredicate<? super A> q, UnaryProcedure<? super A> r, UnaryProcedure<? super A> s)
          Create a conditional UnaryProcedure.
static
<A> CompositeUnaryProcedure<A>
Composite.procedure(UnaryProcedure<? super A> procedure)
          Create a composite UnaryProcedure.
static
<A,T> CompositeUnaryProcedure<A>
Composite.procedure(UnaryProcedure<? super T> procedure, UnaryFunction<? super A,? extends T> function)
          Create a composite UnaryProcedure.
 UnarySequence<A> UnarySequence.then(UnaryProcedure<? super A> p)
          Fluently add a UnaryProcedure to the sequence.
 

Constructors in org.apache.commons.functor.core.composite with parameters of type UnaryProcedure
CompositeUnaryProcedure(UnaryProcedure<? super A> procedure)
          Create a new CompositeUnaryProcedure.
ConditionalUnaryProcedure(UnaryPredicate<? super A> ifPred, UnaryProcedure<? super A> thenProc)
          Create a new ConditionalUnaryProcedure.
ConditionalUnaryProcedure(UnaryPredicate<? super A> ifPred, UnaryProcedure<? super A> thenProc, UnaryProcedure<? super A> elseProc)
          Create a new ConditionalUnaryProcedure.
ConditionalUnaryProcedure(UnaryPredicate<? super A> ifPred, UnaryProcedure<? super A> thenProc, UnaryProcedure<? super A> elseProc)
          Create a new ConditionalUnaryProcedure.
TransformedBinaryProcedure(BinaryFunction<? super L,? super R,? extends X> function, UnaryProcedure<? super X> procedure)
          Create a new TransformedBinaryProcedure.
TransformedProcedure(Function<? extends X> function, UnaryProcedure<? super X> procedure)
          Create a new TransformedProcedure.
UnarySequence(UnaryProcedure<? super A>... procedures)
          Create a new UnarySequence instance.
 

Constructor parameters in org.apache.commons.functor.core.composite with type arguments of type UnaryProcedure
UnarySequence(Iterable<UnaryProcedure<? super A>> procedures)
          Create a new UnarySequence instance.
 

Uses of UnaryProcedure in org.apache.commons.functor.generator
 

Methods in org.apache.commons.functor.generator with parameters of type UnaryProcedure
 void WhileGenerate.run(UnaryProcedure<? super E> proc)
          Generators must implement this method.
 void UntilGenerate.run(UnaryProcedure<? super E> proc)
          Generators must implement this method.
 void TransformedGenerator.run(UnaryProcedure<? super E> proc)
          Generators must implement this method.
 void IteratorToGeneratorAdapter.run(UnaryProcedure<? super E> proc)
          Generators must implement this method.
 void Generator.run(UnaryProcedure<? super E> proc)
          Generators must implement this method.
 void GenerateWhile.run(UnaryProcedure<? super E> proc)
          Generators must implement this method.
 void GenerateUntil.run(UnaryProcedure<? super E> proc)
          Generators must implement this method.
 void FilteredGenerator.run(UnaryProcedure<? super E> proc)
          Generators must implement this method.
 

Uses of UnaryProcedure in org.apache.commons.functor.generator.util
 

Methods in org.apache.commons.functor.generator.util with parameters of type UnaryProcedure
 void IntegerRange.run(UnaryProcedure<? super Integer> proc)
          Generators must implement this method.
 void LongRange.run(UnaryProcedure<? super Long> proc)
          Generators must implement this method.
 



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