1. Creation
| SetBase<Item,Impl> | s; |
| SetBase<Item,Impl> | s( (Collection<Item>&) c); |
memberQ() method.
| SetBase<Item,Impl> | s( (SetBase<Item,Impl>&) ss); |
| Set<Item> | s( (Collection<Item>&) c); |
memberQ() method.
| Set<Item> | s( (Set<Item>&) ss); |
2. Operations
| void | insert (Item e); |
store is greater
than 1, then other collection objects are also
using
it as their implementation. Rather than changing
its contents, a copy will be made (O(n)),
and the reference
counts will be updated. Finally, check to
ensure that e is not currently a member, then
call store
| void | append (Item e); |
| void | remove (Item e); |
store.
| int | occurrences (Item); |
| int | permutationQ (); |