org.apache.commons.functor
Interface UnaryProcedure<A>

All Superinterfaces:
Functor, UnaryFunctor<A>
All Known Implementing Classes:
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: 665761 $ $Date: 2008-06-09 11:50:56 -0500 (Mon, 09 Jun 2008) $
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-2008 The Apache Software Foundation. All Rights Reserved.