Product Site

5.3.15. Set Class

A 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.
Table 5.25. Set Class