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
Do-until algorithm (test after).
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longserialVersionUID declaration. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.functor.core.algorithm.PredicatedLoop
equals, getBody, getTest, hashCode
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDserialVersionUID declaration.- See Also:
-
-
Constructor Details
-
DoUntil
Create a new DoUntil.- Parameters:
body- to executetest- whether to keep going
-
-
Method Details
-
run
public final void run()Execute this procedure.
-