Documentation
¶
Overview ¶
Package sliceset provides a convenient []int set wrapper to aid in testing and benchmarks, and to serve as an example for those in need of a (concrete) abstraction for simplifying code. It is not intended for direct reuse.
Index ¶
- type BoolOp
- type Set
- func (s Set) Copy() Set
- func (s Set) Diff(t Set) Set
- func (s Set) Do(op set.Op, t Set) Set
- func (s Set) DoBool(op BoolOp, t Set) bool
- func (s Set) Inter(t Set) Set
- func (s Set) IsEqual(t Set) bool
- func (s Set) IsInter(t Set) bool
- func (s Set) IsSub(t Set) bool
- func (s Set) IsSuper(t Set) bool
- func (s Set) Len() int
- func (s Set) Less(i, j int) bool
- func (s Set) Swap(i, j int)
- func (s Set) SymDiff(t Set) Set
- func (s Set) Union(t Set) Set
- func (s Set) Uniq() Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.