Lines Matching defs:Set
8 type Set struct { struct
9 m map[interface{}]interface{}
10 once sync.Once
30 func (s *Set) Add(v interface{}) {
36 func (s *Set) Delete(v interface{}) {
42 func (s *Set) Include(v interface{}) bool {
49 func (s *Set) Intersection(other *Set) *Set {
67 func (s *Set) Difference(other *Set) *Set {
86 func (s *Set) Filter(cb func(interface{}) bool) *Set {
99 func (s *Set) Len() int {
108 func (s *Set) List() []interface{} {
121 func (s *Set) init() {