Interface Procedure

All Superinterfaces:
Functor, NullaryFunctor, Runnable
All Known Implementing Classes:
AbstractLoopProcedure, BoundProcedure, ConditionalProcedure, DoUntil, DoWhile, DoWhileProcedure, FullyBoundProcedure, FunctionProcedure, NoOp, PredicatedLoop, Sequence, TransformedProcedure, TransformedProcedure.Helper, 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$ $Date$
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Execute this procedure.

    Methods inherited from interface Functor

    equals, hashCode, toString
  • Method Details

    • run

      void run()
      Execute this procedure.
      Specified by:
      run in interface Runnable