Class DoUntil

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

public class DoUntil extends PredicatedLoop
Do-until algorithm (test after).
Version:
$Revision$ $Date$
See Also:
  • Field Details

    • serialVersionUID

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

    • DoUntil

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

    • run

      public final void run()
      Execute this procedure.