A collection of unique elements.
A Set is a Collection of its elements.
Sets may be the subject of the binary union,
intersection, and complement operators |, &, and
~.
| Attributes | |
| hash | Source Code shared actual default Integer hash The hash value of the value, which allows the value
to be an element of a hash-based set or key of a
hash-based map. Implementations must respect the
constraint that if Refined declaration: hash |
| Inherited Attributes |
| Attributes inherited from: Object |
| Attributes inherited from: Cloneable<Clone> |
| Attributes inherited from: Collection<Element> |
| Attributes inherited from: Iterable<Element,Absent> |
| Methods | |
| complement | Source Code Returns a new |
| equals | Source Code Two Refined declaration: equals |
| exclusiveUnion | Source Code Returns a new |
| intersection | Source Code Returns a new |
| subset | Source Code Determines if this |
| superset | Source Code Determines if this |
| union | Source Code Returns a new |
| Inherited Methods |
| Methods inherited from: Category |
| Methods inherited from: Iterable<Element,Absent> any, by, chain, collect, count, cycle, defaultNullElements, every, filter, find, findLast, fold, following, iterator, longerThan, map, repeat, select, shorterThan, skipping, skippingWhile, sort, taking, takingWhile |