public abstract class AbstractLoopNullaryProcedure extends Object implements NullaryProcedure
WhileDoNullaryProcedure and DoWhileNullaryProcedure
used to implement loop procedures.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLoopNullaryProcedure(NullaryPredicate condition,
NullaryProcedure action)
Create a new AbstractLoopNullaryProcedure.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
protected NullaryProcedure |
getAction()
Get the action.
|
protected NullaryPredicate |
getCondition()
Get the condition.
|
int |
hashCode() |
protected int |
hashCode(int hash)
Create a hashCode by manipulating an input hashCode and factoring in instance state.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitrunprotected AbstractLoopNullaryProcedure(NullaryPredicate condition, NullaryProcedure action)
condition - while true, repeataction - loop bodyprotected int hashCode(int hash)
hash - incoming hashCodeprotected final NullaryPredicate getCondition()
protected final NullaryProcedure getAction()
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.