public class UntilDo extends Object
| Constructor and Description |
|---|
UntilDo(NullaryPredicate test,
NullaryProcedure body)
Create a new UntilDo.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
protected NullaryProcedure |
getBody()
Get the body of this loop.
|
protected NullaryPredicate |
getTest()
Get the test for this loop.
|
int |
hashCode() |
void |
run()
Execute this procedure.
|
String |
toString() |
public UntilDo(NullaryPredicate test, NullaryProcedure body)
test - whether to keep goingbody - to executepublic final void run()
protected NullaryProcedure getBody()
protected NullaryPredicate getTest()
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.