|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.gold.java.AboraHeaper
|
+--org.abora.gold.xpp.basic.Heaper
|
+--org.abora.gold.collection.steppers.Stepper
|
+--org.abora.gold.spaces.cross.BoxStepper
Steps over all boxes. was NOT.A.TYPE but this prevented compilation
| Field Summary | |
protected int |
myIndex
|
protected GenericCrossRegion |
myRegion
|
protected XnRegion |
myValue
|
protected static InstanceCache |
SomeSteppers
|
| Fields inherited from class org.abora.gold.collection.steppers.Stepper |
TheEmptyStepper |
| Fields inherited from class org.abora.gold.xpp.basic.Heaper |
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes |
| Fields inherited from class org.abora.gold.java.AboraHeaper |
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag |
| Constructor Summary | |
BoxStepper(GenericCrossRegion region)
|
|
BoxStepper(GenericCrossRegion region,
int index,
XnRegion value)
|
|
| Method Summary | |
GenericCrossRegion |
boxComplement()
The complement of this box |
BoxAccumulator |
boxComplementAccumulator()
The complement of this box |
int |
boxHash()
|
boolean |
boxHasMember(ActualTuple tuple)
Whether my current box contains a position |
int |
boxIndex()
|
boolean |
boxIntersects(BoxStepper other)
Whether my current box intersects others current box |
boolean |
boxIsEqual(BoxStepper other)
Whether my current box isEqual others current box |
boolean |
boxIsSubsetOf(BoxStepper other)
Whether my current box isSubsetOf others current box |
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()
|
Heaper |
fetch()
If I am exhausted (i.e., if (!! this->hasValue())), then return NULL. |
boolean |
hasValue()
Iff I have a current value (i.e. |
static void |
initTimeNonInherited()
|
boolean |
intersectBoxInto(PtrArray result,
int boxIndex)
Intersect each projection in the box into the array. |
boolean |
isBoxOf(GenericCrossRegion other)
Whether my box is also a box in the other region |
static void |
linkTimeNonInherited()
|
static Heaper |
make(GenericCrossRegion region)
|
XnRegion |
projection(int dimension)
The projection of my current box into one dimension |
BoxProjectionStepper |
projectionStepper()
A stepper over all the projections in the current box |
GenericCrossRegion |
region()
|
void |
step()
Essential. |
void |
unionBoxInto(PtrArray result,
int boxIndex)
Union each projection in the box into the array |
| Methods inherited from class org.abora.gold.collection.steppers.Stepper |
actualHashForEqual, asArray, atEnd, emptyStepper, forEach, forEachPromise, get, info, isEqual, itemStepper, stepMany, stepMany, theOne |
| Methods inherited from class org.abora.gold.java.AboraHeaper |
asOop, basicInspect, displayString, error, hack, halt, inspect, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected GenericCrossRegion myRegion
protected int myIndex
protected XnRegion myValue
protected static InstanceCache SomeSteppers
| Constructor Detail |
public BoxStepper(GenericCrossRegion region)
public BoxStepper(GenericCrossRegion region,
int index,
XnRegion value)
| Method Detail |
public Heaper fetch()
Stepper
fetch in class Stepperpublic boolean hasValue()
Stepper
hasValue in class Stepperpublic void step()
Stepper
step in class Stepperpublic Stepper copy()
Stepper
copy in class Stepperpublic void destroy()
destroy in class Heaperpublic GenericCrossRegion boxComplement()
public BoxAccumulator boxComplementAccumulator()
public int boxHash()
public boolean boxHasMember(ActualTuple tuple)
public int boxIndex()
public boolean boxIntersects(BoxStepper other)
public boolean boxIsEqual(BoxStepper other)
public boolean boxIsSubsetOf(BoxStepper other)
public boolean intersectBoxInto(PtrArray result,
int boxIndex)
public boolean isBoxOf(GenericCrossRegion other)
public XnRegion projection(int dimension)
public BoxProjectionStepper projectionStepper()
public GenericCrossRegion region()
public void unionBoxInto(PtrArray result,
int boxIndex)
public static void initTimeNonInherited()
public static void linkTimeNonInherited()
public static Heaper make(GenericCrossRegion region)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||