| SETKey Methods |
The SETKey generic type exposes the following members.
| Name | Description | |
|---|---|---|
| Add |
Adds the key to this set (if it is not already present). | |
| Ceiling |
Returns the smallest key in this set greater than or equal to key. | |
| Contains |
Returns true if this set contains the given key. | |
| Delete |
Removes the specified key from this set (if the set contains the specified key). | |
| Equals(Object) |
Compares this set to the specified set. (Overrides ObjectEquals(Object).) | |
| Equals(SETKey) |
Compares this set to the other set using set element comparison. This is
an override of the default rererence equality comparison.
| |
| Floor |
Returns the largest key in this set less than or equal to key. | |
| GetEnumerator |
Returns all of the keys in this set, as an iterator.
To iterate over all of the keys in a set named set, use the
foreach notation: foreach (Key key in set). | |
| GetHashCode |
This operation is not supported because sets are mutable. (Overrides ObjectGetHashCode.) | |
| Intersects |
Returns the intersection of this set and that set. | |
| MainTest |
Demo test the SET data type. | |
| ToString |
Returns a string representation of this set. (Overrides ObjectToString.) | |
| Union |
Returns the union of this set and that set. |