Set is a collection containing member items
where the index is the same as the item (similar to a
Bag collection).
Any object can be placed in a Set.
There can be only one occurrence of any object in a Set
(unlike a Bag collection).
Item equality is determined by using the == method.
| Object | |||||||||||||||||||||||
| Methods inherited from the Object class | |||||||||||||||||||||||
| Class (Metaclass) | |||||||||||||||||||||||
| Methods inherited from the Class class | |||||||||||||||||||||||
| + SetCollection (Mixin Class) | |||||||||||||||||||||||
|
Methods inherited from the SetCollection class
(no class or instance methods)
| |||||||||||||||||||||||
| + Collection (Mixin Class) | |||||||||||||||||||||||
| Methods inherited from the Collection class | |||||||||||||||||||||||
| + MapCollection (Mixin Class) | |||||||||||||||||||||||
| Methods inherited from the MapCollection class | |||||||||||||||||||||||
| Set | |||||||||||||||||||||||
|