|
||||||||
| 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
MuSets are a changable collection of elements. Added to the ScruSet protocol are messages
for performing these changes. The "introduce/store/wipe/remove" suite is defined by
analogy with similar methods in MuTable. See both ScruSet and MuTable.
| Field Summary |
| 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 | |
MuSet()
|
|
| Method Summary | |
int |
actualHashForEqual()
|
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. |
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. |
static MuSet |
fromStepper(Stepper stepper)
|
boolean |
hasMember(Heaper someone)
Is someone a member of the set now? |
Stepper |
immuStepper()
|
static void |
initTimeNonInherited()
|
void |
introduce(Heaper anElement)
Add anElement to my members, but only if it isn't already a member. If it is already a member, BLAST |
boolean |
isEmpty()
Whether it currently has any elements |
boolean |
isEqual(java.lang.Object other)
|
static Heaper |
make()
|
static Heaper |
make(Heaper item)
|
static Heaper |
make(IntegerVar someSize)
someSize is a non-semantic hint about how big the set might get. |
static Heaper |
make(java.lang.Object something)
|
static Heaper |
make(XnRegion region)
someSize is a non-semantic hint about how big the set might get. |
static void |
problems()
A ProblemList for all X++ BLASTs |
void |
remove(Heaper anElement)
Remove anElement from my members. |
void |
restrictTo(ScruSet other)
Sort of intersect. |
Stepper |
stepper()
Returns a stepper which will enumerate all the elements of the set in some unspecified order |
void |
store(Heaper anElement)
Add anElement to my set of members. |
void |
storeAll(ScruSet other)
Sort of union. |
void |
wipe(Heaper anElement)
make anElement no longer be one of my members. |
void |
wipeAll(ScruSet other)
Sort of minus. |
| Methods inherited from class org.abora.gold.collection.sets.ScruSet |
asArray, asOrderedCollection, contentsEqual, contentsHash, dox, inspect, intersects, isEqual, isSubsetOf, printOn, printOnWithSimpleSyntax, 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 |
| Constructor Detail |
public MuSet()
| Method Detail |
public boolean hasMember(Heaper someone)
ScruSet
hasMember in class ScruSetpublic boolean isEmpty()
ScruSet
isEmpty in class ScruSetpublic void restrictTo(ScruSet other)
public void storeAll(ScruSet other)
public void wipeAll(ScruSet other)
public void introduce(Heaper anElement)
public void remove(Heaper anElement)
public void store(Heaper anElement)
public void wipe(Heaper anElement)
public ScruSet copy()
ScruSet
copy in class ScruSetpublic ImmuSet asImmuSet()
ScruSet
asImmuSet in class ScruSetpublic MuSet asMuSet()
ScruSet
asMuSet in class ScruSetpublic IntegerVar count()
ScruSet
count in class ScruSetpublic Stepper stepper()
ScruSet
stepper in class ScruSetpublic Stepper immuStepper()
public int actualHashForEqual()
actualHashForEqual in class ScruSetpublic boolean isEqual(java.lang.Object other)
public static Heaper make(XnRegion region)
public static MuSet fromStepper(Stepper stepper)
public static Heaper make()
public static Heaper make(Heaper item)
public static Heaper make(IntegerVar someSize)
public static Heaper make(java.lang.Object something)
public static void initTimeNonInherited()
public static void problems()
Heaper
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||