org.apache.commons.functor
Interface Procedure

All Superinterfaces:
Functor, NullaryFunctor, Runnable
All Known Implementing Classes:
AbstractLoopProcedure, BoundProcedure, ConditionalProcedure, DoUntil, DoWhile, DoWhileProcedure, FullyBoundProcedure, FunctionProcedure, NoOp, Sequence, TransformedProcedure, UntilDo, WhileDo, WhileDoProcedure

public interface Procedure
extends NullaryFunctor, Runnable

A functor that takes no arguments and returns no value.

Note that this functor implements the Runnable interface, making all Procedures immediately usable in a number of contexts (Swing, Jelly, etc.).

Implementors are encouraged but not required to make their functors Serializable.

Since:
1.0
Version:
$Revision: 647290 $ $Date: 2008-04-11 22:08:44 +0200 (Fri, 11 Apr 2008) $
Author:
Rodney Waldhoff

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

Method Detail

run

void run()
Execute this procedure.

Specified by:
run in interface Runnable


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