Cardinality returns the cardinality of this set.
()
| 174 | |
| 175 | // Cardinality returns the cardinality of this set. |
| 176 | func (s *OrderedSet) Cardinality() int { |
| 177 | return len(s.s) |
| 178 | } |
| 179 | |
| 180 | // Iter returns a channel which yields the elements in this set in insertion |
| 181 | // order. |
no outgoing calls
no test coverage detected