Package org.apache.commons.functor
Interface UnaryProcedure<A>
-
- Type Parameters:
A- the argument type.
- All Superinterfaces:
Functor,UnaryFunctor<A>
- All Known Implementing Classes:
BinaryProcedureUnaryProcedure,CompositeUnaryProcedure,ConditionalUnaryProcedure,FindWithinGenerator.FindProcedure,FoldLeft.FoldLeftHelper,FoldRight.FoldRightHelper,GeneratorContains.ContainsProcedure,IndexOfInGenerator.IndexProcedure,LeftBoundProcedure,NoOp,ProcedureUnaryProcedure,RightBoundProcedure,UnaryFunctionUnaryProcedure,UnarySequence
public interface UnaryProcedure<A> extends UnaryFunctor<A>
A functor that takes one argument and returns no value.Implementors are encouraged but not required to make their functors
Serializable.- Since:
- 1.0
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrun(A obj)Execute this procedure.
-
-
-
Method Detail
-
run
void run(A obj)
Execute this procedure.- Parameters:
obj- an A parameter to this execution
-
-