Index - All Packages - All Categories - All Classes
Class ImmuSet
ImmuSets are ScruSets which are guaranteed never to change. ImmuSets correspond to the mathematical notion of a finite set of elements, except of course that here the elements can be any valid X++ object. Just like mathematical sets, two are equal (according to isEqual) iff they have the same elements. Just because the set cannot change, that doesn't prevent any of the members from undergoing state change.
ImmuSets implement some additional protocol to make new sets out of old ones according to the familiar set theoretic operators (like intersect). XuRegions are much like ImmuSets of Positions except that they aren't necessarily finite or even enumerable. XuRegions implement a similar protocol, but aren't polymorphic with ImmuSets.
Package: Udanax-Gold
All Superclasses: Object Heaper ScruSet
Immediate Subclasses: EmptyImmuSet ImmuSetOnMu TinyImmuSet
Protocols: Object
Categories: Xanadu-Collection-Sets