Documentation
¶
Index ¶
- type Set
- func (s *Set) Add(element any) *Set
- func (s *Set) Clear() *Set
- func (s Set) Copy() Set
- func (s Set) Difference(another Set) Set
- func (s *Set) Discard(element any) bool
- func (s Set) Empty() bool
- func (s Set) Equal(another Set) bool
- func (s Set) Has(element any) bool
- func (s Set) Intersection(another Set) Set
- func (s Set) IsDisjoint(another Set) bool
- func (s Set) IsSubset(another Set) bool
- func (s Set) IsSuperset(another Set) bool
- func (s Set) MarshalJSON() ([]byte, error)
- func (s *Set) Pop() (element any, err error)
- func (s Set) Size() int
- func (s Set) String() string
- func (s Set) SymmetricDifference(another Set) Set
- func (s Set) Union(another Set) Set
- func (s *Set) UnmarshalJSON(data []byte) (err error)
- func (s *Set) Update(another Set) *Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
func (Set) Difference ¶
func (Set) Intersection ¶
func (Set) IsDisjoint ¶
func (Set) IsSuperset ¶
func (Set) MarshalJSON ¶
func (Set) SymmetricDifference ¶
func (*Set) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.