set¶
Holds the "set" datatype
Associated DataTypes¶
set¶
A set is a collection of unordered unique values. In practice, the values in this set are ordered lexicographically.
- Adding an item that is already in a set does not alter the set.
-
Members
int
Count¶- Number of items added to the set.
bool
Clear¶- Removes all items from the set. True is always returned.
bool
Contains[ѕtring]¶- True is returned if the item is in the set.
bool
Add[sequence]¶- True is returned if the item(s) were added to the set.
bool
Remove[ѕtring]¶- True is returned if the item was removed from the set.
setiterator
First¶- A setiterator is returned on the set where the current element under the iterator is the first element in the set if the set has elements or an empty iterator if the set is empty.
setiterator
Find[ѕtring]¶- A setiterator is returned on the set where the current element under the iterator is the item if the item is in the set and an empty iterator if it is not.
This TLO is added by MQ2Collections.