Documentation ¶
Index ¶
- type HashSet
- func (m *HashSet) Add(key interface{}) error
- func (m *HashSet) AddOrUpdate(key interface{}, value interface{})
- func (m *HashSet) Clear()
- func (m *HashSet) Contains(key interface{}) bool
- func (m *HashSet) Count() int
- func (m *HashSet) Find(key interface{}) bool
- func (m *HashSet) Init() *HashSet
- func (m *HashSet) Keys() []interface{}
- func (m *HashSet) Len() int
- func (m *HashSet) Peek(key interface{}) bool
- func (m *HashSet) Remove(key interface{}) interface{}
- func (m *HashSet) Size() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashSet ¶
type HashSet struct {
// contains filtered or unexported fields
}
HashSet is an auto make set
func (*HashSet) AddOrUpdate ¶
func (m *HashSet) AddOrUpdate(key interface{}, value interface{})
Click to show internal directories.
Click to hide internal directories.