Class UntilDo

java.lang.Object
org.apache.commons.functor.core.algorithm.PredicatedLoop
org.apache.commons.functor.core.algorithm.UntilDo
All Implemented Interfaces:
Serializable, Runnable, Functor, NullaryFunctor, Procedure

public class UntilDo extends PredicatedLoop
Until-do algorithm (test before).
Version:
$Revision$ $Date$
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      serialVersionUID declaration.
      See Also:
  • Constructor Details

    • UntilDo

      public UntilDo(Predicate test, Procedure body)
      Create a new UntilDo.
      Parameters:
      test - whether to keep going
      body - to execute
  • Method Details

    • run

      public final void run()
      Execute this procedure.