Intersection - returns the intersection with given set as new set.
(sset StringSet)
| 100 | |
| 101 | // Intersection - returns the intersection with given set as new set. |
| 102 | func (set StringSet) Intersection(sset StringSet) StringSet { |
| 103 | return StringSet(Set[string](set).Intersection(Set[string](sset))) |
| 104 | } |
| 105 | |
| 106 | // Difference - returns the difference with given set as new set. |
| 107 | func (set StringSet) Difference(sset StringSet) StringSet { |
no test coverage detected