Allows the removal of a single item in the set.
(i string)
| 126 | |
| 127 | // Allows the removal of a single item in the set. |
| 128 | func (set StringSet) Remove(i string) { |
| 129 | delete(set, i) |
| 130 | } |
| 131 | |
| 132 | // Cardinality returns how many items are currently in the set. |
| 133 | func (set StringSet) Cardinality() int { |
no outgoing calls