|
||||||||
| 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.Accumulator
|
+--org.abora.gold.spaces.integers.IntegerEdgeAccumulator
| Field Summary | |
protected boolean |
havePending
|
protected IntegerVarArray |
myEdges
|
protected int |
myIndex
|
protected IntegerVar |
myPending
|
protected boolean |
myStartsInside
|
protected static InstanceCache |
SomeAccumulators
|
| 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 | |
IntegerEdgeAccumulator(boolean startsInside,
int count)
|
|
IntegerEdgeAccumulator(boolean startsInside,
IntegerVarArray edges,
int index,
boolean hasPending,
IntegerVar pending)
|
|
| Method Summary | |
Accumulator |
copy()
Return a new Accumulator just like the current one, except that from now on they accumulate separately |
void |
destroy()
|
void |
edge(IntegerVar x)
add a transition at the given position. |
void |
edges(IntegerEdgeStepper stepper)
add a whole bunch of edges at once, assuming that they are sorted and there are no duplicates |
static void |
initTimeNonInherited()
|
static void |
linkTimeNonInherited()
|
static Heaper |
make(boolean startsInside,
int count)
|
void |
printOn(java.io.PrintWriter oo)
|
IntegerRegion |
region()
make a region out of the accumulated edges |
void |
step(Heaper someObj)
Accumulate a new object into the Accumulator |
Heaper |
value()
Return the object that results from accumulating all those objects |
| Methods inherited from class org.abora.gold.collection.steppers.Accumulator |
actualHashForEqual, isEqual, ptrArray |
| 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 boolean myStartsInside
protected IntegerVarArray myEdges
protected int myIndex
protected boolean havePending
protected IntegerVar myPending
protected static InstanceCache SomeAccumulators
| Constructor Detail |
public IntegerEdgeAccumulator(boolean startsInside,
int count)
public IntegerEdgeAccumulator(boolean startsInside,
IntegerVarArray edges,
int index,
boolean hasPending,
IntegerVar pending)
| Method Detail |
public Accumulator copy()
Accumulator
copy in class Accumulatorpublic void destroy()
destroy in class Heaperpublic void step(Heaper someObj)
Accumulator
step in class Accumulatorpublic Heaper value()
Accumulator
value in class Accumulatorpublic void printOn(java.io.PrintWriter oo)
printOn in class Heaperpublic void edge(IntegerVar x)
public void edges(IntegerEdgeStepper stepper)
public IntegerRegion region()
public static Heaper make(boolean startsInside,
int count)
public static void initTimeNonInherited()
public static void linkTimeNonInherited()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||