|
||||||||
| 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.sets.ScruSet
|
+--org.abora.white.collection.sets.ImmuSet
|
+--org.abora.white.collection.sets.EmptyImmuSet
| Field Summary |
| Fields inherited from class org.abora.white.collection.sets.ImmuSet |
EmptySet |
| Constructor Summary | |
protected |
EmptyImmuSet()
|
| Method Summary | |
MuSet |
asMuSet()
Return a Mu whose initial state is the same as my current state, but which will now deviate independently of me. |
IntegerValue |
count()
How many elements are currently in the set. |
void |
destroy()
Don't destroy our single instance |
void |
destruct()
This object is a canonical single instance, so its destructor should only be called after main has exited. |
boolean |
hasMember(Heaper someone)
Is someone a member of the set now? |
ImmuSet |
intersect(ScruSet another)
Regular set intersection. |
boolean |
isEmpty()
Return true if this set does not currently have
any elements. |
boolean |
isSubsetOf(ScruSet another)
Whether another currently has all my elements |
static Heaper |
make(Rcvr rcvr)
|
ImmuSet |
minus(ScruSet another)
Return an ImmuSet containing those of my members which aren't members of 'another' |
void |
sendSelfTo(Xmtr xmtr)
|
Stepper |
stepper()
Returns a stepper which will enumerate all the elements of the set in some unspecified order |
Heaper |
theOne()
Iff I contain exactly one member, return it. |
ImmuSet |
unionWith(ScruSet another)
Return an ImmuSet containing those objects with are members of either of us |
ImmuSet |
with(Heaper anElement)
'set->with (anElement)' means the same as 'set->unionWith (immuSet (anElement))'. |
ImmuSet |
without(Heaper anElement)
'set->without (anElement)' means the same as 'set->minus (immuSet (anElement))'. |
| Methods inherited from class org.abora.white.collection.sets.ImmuSet |
actualHashForEqual, asImmuSet, copy, from, isEqual, make, make, newWith |
| Methods inherited from class org.abora.white.collection.sets.ScruSet |
asArray, contentsEqual, contentsHash, intersects, printOn, printOnWithSimpleSyntax, printOnWithSyntax |
| Methods inherited from class org.abora.white.xpp.basic.Heaper |
equals, hashForEqual, printContentsOn, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected EmptyImmuSet()
| Method Detail |
public static Heaper make(Rcvr rcvr)
public IntegerValue count()
ScruSet
count in class ImmuSetpublic Stepper stepper()
ScruSet
stepper in class ImmuSetpublic Heaper theOne()
ScruSet
theOne in class ScruSetpublic ImmuSet with(Heaper anElement)
ImmuSet
with in class ImmuSetpublic ImmuSet without(Heaper anElement)
ImmuSet
without in class ImmuSetpublic boolean hasMember(Heaper someone)
ScruSet
hasMember in class ImmuSetpublic boolean isEmpty()
ScruSetthis set does not currently have
any elements.
isEmpty in class ImmuSetthis set does not currently have any
elements.public boolean isSubsetOf(ScruSet another)
ScruSet
isSubsetOf in class ScruSetpublic ImmuSet intersect(ScruSet another)
ImmuSet
intersect in class ImmuSetpublic ImmuSet minus(ScruSet another)
ImmuSet
minus in class ImmuSetpublic ImmuSet unionWith(ScruSet another)
ImmuSet
unionWith in class ImmuSetpublic MuSet asMuSet()
ScruSet
asMuSet in class ImmuSetpublic void destroy()
destroy in class Heaperpublic void destruct()
destruct in class Heaperpublic void sendSelfTo(Xmtr xmtr)
sendSelfTo in class Heaper
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||