Documentation
¶
Index ¶
- type Int64Set
- type IntSet
- type SafeInt64Set
- func (this *SafeInt64Set) Add(item int64) *SafeInt64Set
- func (this *SafeInt64Set) Adds(items []int64) *SafeInt64Set
- func (this *SafeInt64Set) Clear()
- func (this *SafeInt64Set) Contains(item int64) bool
- func (this *SafeInt64Set) Size() int
- func (this *SafeInt64Set) Slice() []int64
- func (this *SafeInt64Set) String() string
- type SafeSet
- type StringSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Int64Set ¶
type Int64Set struct {
M map[int64]struct{}
}
func NewInt64Set ¶
func NewInt64Set() *Int64Set
type SafeInt64Set ¶
func NewSafeInt64Set ¶
func NewSafeInt64Set() *SafeInt64Set
func (*SafeInt64Set) Add ¶
func (this *SafeInt64Set) Add(item int64) *SafeInt64Set
func (*SafeInt64Set) Adds ¶
func (this *SafeInt64Set) Adds(items []int64) *SafeInt64Set
func (*SafeInt64Set) Clear ¶
func (this *SafeInt64Set) Clear()
func (*SafeInt64Set) Contains ¶
func (this *SafeInt64Set) Contains(item int64) bool
func (*SafeInt64Set) Size ¶
func (this *SafeInt64Set) Size() int
func (*SafeInt64Set) Slice ¶
func (this *SafeInt64Set) Slice() []int64
func (*SafeInt64Set) String ¶
func (this *SafeInt64Set) String() string
type SafeSet ¶
func NewSafeSet ¶
func NewSafeSet() *SafeSet
Click to show internal directories.
Click to hide internal directories.