Index - All Packages - All Categories - All Classes

Class 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.

Package: Udanax-Gold
All Superclasses: Object Heaper ScruSet
Immediate Subclasses: GrandHashSet HashSet
Protocols: Object
Categories: Xanadu-Collection-Sets

Class Methods

fromStepper: stepper


initTimeNonInherited



Overridden by: GrandHashSet class ActualHashSet class

make



Overridden by: GrandHashSet class HashSet class ActualHashSet class

make: something



Overridden by: GrandHashSet class

makeHeaper: item



Overridden by: HashSet class ActualHashSet class

makeIntegerVar: someSize

someSize is a non-semantic hint about how big the set might get.

Overridden by: HashSet class ActualHashSet class

makeRegion: region

someSize is a non-semantic hint about how big the set might get.

problemsAlreadyInSet



Instance Methods

actualHashForEqual



Overrides: ScruSet

asImmuSet



Overrides: ScruSet
Overridden by: GrandHashSet HashSet

asMuSet



Overrides: ScruSet
Overridden by: GrandHashSet HashSet

copy



Overrides: ScruSet
Overridden by: GrandHashSet HashSet ActualHashSet

count



Overrides: ScruSet
Overridden by: GrandHashSet HashSet ActualHashSet

hasMember: someone



Overrides: ScruSet
Overridden by: GrandHashSet HashSet ActualHashSet

immuStepper



Overridden by: GrandHashSet HashSet

introduce: anElement

Add anElement to my members, but only if it isn't already a member.
If it is already a member, BLAST

Overridden by: GrandHashSet HashSet ActualHashSet

isEmpty



Overrides: ScruSet
Overridden by: GrandHashSet HashSet ActualHashSet

isEqual: other



Overrides: ScruSet

remove: anElement

Remove anElement from my members. If it isn't currently a member, then BLAST

Overridden by: GrandHashSet HashSet ActualHashSet

restrictTo: other

Sort of intersect. Wipe from myself all elements that I don't have in common with other.
Turn myself into the intersection of my current self and other.

stepper



Overrides: ScruSet
Overridden by: GrandHashSet HashSet ActualHashSet

store: anElement

Add anElement to my set of members. No semantic effect if anElement is already a member.

Overridden by: GrandHashSet HashSet ActualHashSet

storeAll: other

Sort of union. Store into myself all elements from other.
Turn myself into the union of my current self and other.

Overridden by: ActualHashSet

wipe: anElement

make anElement no longer be one of my members. No semantic effect if it already isn't a member.

Overridden by: GrandHashSet HashSet ActualHashSet

wipeAll: other

Sort of minus. Wipe from myself all elements from other.
Turn myself into my current self minus other.

Overridden by: ActualHashSet


Index - All Packages - All Categories - All Classes