Documentation ¶
Index ¶
- type ComparisonFunc
- type GenericSeq
- type KeyGeneratorFunc
- type Sequence
- type SimpleSet
- func (self *SimpleSet) Add(element interface{}) bool
- func (self *SimpleSet) Clear() bool
- func (self *SimpleSet) Contain(element interface{}) bool
- func (self *SimpleSet) GetComparator() ComparisonFunc
- func (self *SimpleSet) Iterator() SimpleSetIterator
- func (self *SimpleSet) Len() int
- func (self *SimpleSet) Less(i, j int) bool
- func (self *SimpleSet) Remove(element interface{}) bool
- func (self *SimpleSet) Slice() []interface{}
- func (self *SimpleSet) Sortable() bool
- func (self *SimpleSet) String() string
- func (self *SimpleSet) Swap(i, j int)
- type SimpleSetIterator
- type Sortable
- type StringSeq
- func (self *StringSeq) Append(e interface{}) bool
- func (self *StringSeq) Delete(index int) (interface{}, bool)
- func (self *StringSeq) ElemType() reflect.Type
- func (self StringSeq) ElemValue(index int) interface{}
- func (self *StringSeq) Len() int
- func (self *StringSeq) Less(i, j int) bool
- func (self *StringSeq) Set(index int, e interface{}) bool
- func (self *StringSeq) Sort()
- func (self *StringSeq) Swap(i, j int)
- func (self StringSeq) Value() interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComparisonFunc ¶
type ComparisonFunc func(i, j interface{}) int
type GenericSeq ¶
type KeyGeneratorFunc ¶
type KeyGeneratorFunc func(x interface{}) string
type Sequence ¶
type Sequence struct { GenericSeq // contains filtered or unexported fields }
type SimpleSet ¶
type SimpleSet struct { KeyGenerator KeyGeneratorFunc Comparator ComparisonFunc // contains filtered or unexported fields }
func (*SimpleSet) GetComparator ¶
func (self *SimpleSet) GetComparator() ComparisonFunc
func (*SimpleSet) Iterator ¶
func (self *SimpleSet) Iterator() SimpleSetIterator
type SimpleSetIterator ¶
type SimpleSetIterator func() (interface{}, bool)
Click to show internal directories.
Click to hide internal directories.