Documentation ¶
Index ¶
- func IsSet(value interface{}) bool
- func IsSuperset(one Set, other Set) bool
- type HashSet
- func (set *HashSet) Add(e interface{}) bool
- func (set *HashSet) Clear()
- func (set *HashSet) Contains(e interface{}) bool
- func (set *HashSet) Elements() []interface{}
- func (set *HashSet) Len() int
- func (set *HashSet) Remove(e interface{})
- func (set *HashSet) Same(other Set) bool
- func (set *HashSet) String() string
- type Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HashSet ¶
type HashSet struct {
// contains filtered or unexported fields
}
func NewHashSet ¶
func NewHashSet() *HashSet
Click to show internal directories.
Click to hide internal directories.