Set Methods
The methods defined in the Set class are summarized in the following table.
| Method | Description |
|---|---|
| add | Adds a specified object to a set |
| copy | Copies entries from the receiver to a compatible collection |
| createIterator | Creates an iterator for the set |
| getStatistics | Analyzes the collection and returns structural statistics |
| includes | Returns true if the specified object is contained in the set |
| indexNear | Returns an approximate index of an object in a collection |
| indexNear64 | Returns an approximate index of an object in a collection as an |
| remove | Removes a specified object from a set |
| tryAdd | Attempts to add the specified value to the set |
| tryAddDeferred | Executes a deferred attempt to add a value to the set |
| tryRemove | Attempts to remove the specified value from the set |
| tryRemoveDeferred | Executes a deferred attempt to remove the specified value from the set |
