Documentation ¶
Index ¶
- func Append(src interface{}, arr interface{}) interface{}
- type MapSet
- func (s *MapSet) Add(elem string)
- func (s *MapSet) Contains(elem string) bool
- func (s *MapSet) Equal(another Set) bool
- func (s *MapSet) Intersect(another Set) Set
- func (s *MapSet) IsSupersetOf(another Set) bool
- func (s *MapSet) Remove(elem string) bool
- func (s *MapSet) Size() int
- func (s *MapSet) Union(another Set) Set
- func (s *MapSet) Values() []string
- type Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MapSet ¶
type MapSet struct {
// contains filtered or unexported fields
}
MapSet Map based Set implementation
func (*MapSet) IsSupersetOf ¶
IsSupersetOf another Set
func (*MapSet) Remove ¶
Remove an element if it exists in the Set Returns if the value was present and removed
Click to show internal directories.
Click to hide internal directories.