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

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

    Methods inherited from interface Functor

    equals, hashCode, toString
  • Method Details

    • run

      void run(A obj)
      Execute this procedure.
      Parameters:
      obj - an A parameter to this execution