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, 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: 1156741 $ $Date: 2011-08-11 21:03:45 +0200 (Thu, 11 Aug 2011) $
Author:
Rodney Waldhoff

Method Summary
 void run(A obj)
          Execute this procedure.
 
Methods inherited from interface org.apache.commons.functor.Functor
equals, hashCode, toString
 

Method Detail

run

void run(A obj)
Execute this procedure.

Parameters:
obj - an A parameter to this execution


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