|
||||||||
| 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.sets.ScruSet
|
+--org.abora.gold.collection.sets.MuSet
|
+--org.abora.gold.collection.grand.GrandHashSet
| Field Summary | |
protected int |
cacheHash
|
protected Heaper |
cacheValue
|
protected PtrArray |
grandNodes
|
protected Counter |
myDoublingFrontIndex
|
protected Counter |
myDoublingPasses
|
protected IntegerVar |
myOutstandingSteppers
|
protected Counter |
myTally
|
protected int |
nodeIndexShift
|
protected int |
numNodes
|
| 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 | |
GrandHashSet(int nNodes)
|
|
GrandHashSet(Rcvr receiver)
|
|
| Method Summary | |
ImmuSet |
asImmuSet()
Return an immu snapshot of my current state. |
MuSet |
asMuSet()
Return a Mu whose initial state is the same as my current state, but which will now deviate independently of me. |
void |
checkSteppers()
|
void |
considerNeedForDoubling()
Compute location of doubling front from tally. |
ScruSet |
copy()
A new one whose initial state is my current state, but that doesn't track changes. |
IntegerVar |
count()
How many elements are currently in the set. |
void |
destruct()
Classes should implement this message rather than a destructor. |
void |
fewerSteppers()
|
boolean |
hasMember(Heaper aHeaper)
Is someone a member of the set now? |
Stepper |
immuStepper()
|
static void |
initTimeNonInherited()
GrandHashTable initTimeNonInherited |
static void |
inspectPieces()
|
void |
introduce(Heaper aHeaper)
Add anElement to my members, but only if it isn't already a member. If it is already a member, BLAST |
void |
invalidateCache()
|
boolean |
isEmpty()
Whether it currently has any elements |
static Heaper |
make()
|
static Heaper |
make(int nNodes)
|
void |
moreSteppers()
|
GrandNode |
nodeAt(IntegerVar idx)
|
IntegerVar |
nodeCount()
|
void |
printOn(java.io.PrintWriter aStream)
|
void |
printOnWithSimpleSyntax(java.io.PrintWriter oo,
java.lang.String open,
java.lang.String sep,
java.lang.String close)
|
void |
remove(Heaper aHeaper)
Remove anElement from my members. |
void |
restartGrandHashSet(Rcvr trans)
re-initialize the non-persistent part |
void |
sendSelfTo(Xmtr xmtr)
do nothing |
Stepper |
stepper()
Returns a stepper which will enumerate all the elements of the set in some unspecified order |
void |
store(Heaper aHeaper)
Add anElement to my set of members. |
void |
wipe(Heaper aHeaper)
make anElement no longer be one of my members. |
| Methods inherited from class org.abora.gold.collection.sets.MuSet |
actualHashForEqual, fromStepper, isEqual, make, make, make, make, problems, restrictTo, storeAll, wipeAll |
| Methods inherited from class org.abora.gold.collection.sets.ScruSet |
asArray, asOrderedCollection, contentsEqual, contentsHash, dox, inspect, intersects, isEqual, isSubsetOf, printOnWithSyntax, theOne |
| Methods inherited from class org.abora.gold.java.AboraHeaper |
asOop, basicInspect, displayString, error, hack, halt, 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 PtrArray grandNodes
protected int numNodes
protected int nodeIndexShift
protected Counter myTally
protected Counter myDoublingFrontIndex
protected Counter myDoublingPasses
protected int cacheHash
protected Heaper cacheValue
protected IntegerVar myOutstandingSteppers
| Constructor Detail |
public GrandHashSet(int nNodes)
public GrandHashSet(Rcvr receiver)
| Method Detail |
public void introduce(Heaper aHeaper)
MuSet
introduce in class MuSetpublic void remove(Heaper aHeaper)
MuSet
remove in class MuSetpublic void store(Heaper aHeaper)
MuSet
store in class MuSetpublic void wipe(Heaper aHeaper)
MuSet
wipe in class MuSetpublic IntegerVar count()
ScruSet
count in class MuSetpublic boolean hasMember(Heaper aHeaper)
ScruSet
hasMember in class MuSetpublic boolean isEmpty()
ScruSet
isEmpty in class MuSetpublic ImmuSet asImmuSet()
ScruSet
asImmuSet in class MuSetpublic MuSet asMuSet()
ScruSet
asMuSet in class MuSetpublic ScruSet copy()
ScruSet
copy in class MuSetpublic void printOn(java.io.PrintWriter aStream)
printOn in class ScruSet
public void printOnWithSimpleSyntax(java.io.PrintWriter oo,
java.lang.String open,
java.lang.String sep,
java.lang.String close)
printOnWithSimpleSyntax in class ScruSetpublic Stepper stepper()
ScruSet
stepper in class MuSetpublic void destruct()
Heaper
destruct in class Heaperpublic void considerNeedForDoubling()
public void invalidateCache()
public void restartGrandHashSet(Rcvr trans)
public GrandNode nodeAt(IntegerVar idx)
public IntegerVar nodeCount()
public static void inspectPieces()
public void checkSteppers()
public void fewerSteppers()
public Stepper immuStepper()
immuStepper in class MuSetpublic void moreSteppers()
public void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class Heaperpublic static Heaper make()
public static Heaper make(int nNodes)
public static void initTimeNonInherited()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||