Documentation
¶
Index ¶
- type Set
- func (this *Set) Difference(set *Set) *Set
- func (this *Set) Do(f func(interface{}))
- func (this *Set) Has(element interface{}) bool
- func (this *Set) Insert(element interface{})
- func (this *Set) Intersection(set *Set) *Set
- func (this *Set) Len() int
- func (this *Set) ProperSubsetOf(set *Set) bool
- func (this *Set) Remove(element interface{})
- func (this *Set) SubsetOf(set *Set) bool
- func (this *Set) Union(set *Set) *Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set struct {
// contains filtered or unexported fields
}
func (*Set) Difference ¶
Find the difference between two sets
func (*Set) Intersection ¶
Find the intersection of two sets
func (*Set) ProperSubsetOf ¶
Test whether or not this set is a proper subset of "set"
Click to show internal directories.
Click to hide internal directories.