|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.white.xpp.basic.Heaper
|
+--org.abora.white.collection.steppers.Stepper
|
+--org.abora.white.stepper.EmptyStepper
This is a Stepper when you just want to step across a single item.
| Field Summary |
| Fields inherited from class org.abora.white.collection.steppers.Stepper |
TheEmptyStepper |
| Constructor Summary | |
EmptyStepper()
|
|
| Method Summary | |
Stepper |
copy()
Return a new stepper which steps independently of me, but whose current value is the same as mine, and which must produce a future history of values which satisfies the same obligation that my contract obligates me to produce now. |
void |
destroy()
No |
void |
destruct()
This object is a canonical single instance, so its destructor should only be called after main has exited. |
Heaper |
fetch()
If I am exhausted (i.e., if (!! this->hasValue())), then return NULL. |
boolean |
hasValue()
Iff I have a current value (i.e. |
void |
step()
Essential. |
| Methods inherited from class org.abora.white.collection.steppers.Stepper |
actualHashForEqual, atEnd, emptyStepper, get, info, isEqual, itemStepper, stepMany, stepMany, theOne |
| Methods inherited from class org.abora.white.xpp.basic.Heaper |
equals, hashForEqual, printContentsOn, printOn, sendSelfTo, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public EmptyStepper()
| Method Detail |
public void destruct()
destruct in class Heaperpublic Stepper copy()
Stepper
copy in class Stepperpublic void destroy()
destroy in class Heaperpublic Heaper fetch()
Stepper
fetch in class Stepperpublic boolean hasValue()
Stepper
hasValue in class Stepperpublic void step()
Stepper
step in class Stepper
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||