Documentation ¶
Index ¶
- func DebugStringIntPairList(pairList []StringIntPair) string
- func GetKeyListFromPairList(pairList []KeyValuePair) []string
- func MapStringBoolToSortedSlice(m map[string]bool) []string
- func MapStringIntGetKeyList(m map[string]int) (list []string)
- func MapStringIntGetKeyListByIntDesc(m map[string]int) (list []string)
- func MapStringSetStringAdd(m map[string]map[string]struct{}, k1 string, k2 string)
- func MapStringStringClone(m map[string]string) map[string]string
- func MapStringStringCloneAndSet(m map[string]string, kvList ...string) map[string]string
- func MapStringStringGetKeyList(m map[string]string) []string
- func MapStringStringGetValueList(m map[string]string) []string
- func MapStringStringValueSet(m map[string]string) map[string]struct{}
- func SetStringAddStringList(m map[string]struct{}, list []string)
- func SetStringMapEqualStringList(setStringMap map[string]struct{}, stringList []string) bool
- func SetStringToStringListAes(m map[string]struct{}) []string
- func SortKeyValuePairList(data []KeyValuePair)
- func StringInt64PairSliceSort(pairList []KeyValueInt64Pair)
- func StringIntPairSliceSortByIntDesc(pairList []StringIntPair)
- func StringIntPairSortByString(pairList []StringIntPair)
- func StringIntPairSortByStringDesc(pairList []StringIntPair)
- func StringListNoRepeat(sList []string) []string
- func StringListToMapStringBool(sList []string) map[string]bool
- func StringListToSetString(list []string) map[string]struct{}
- func StringSliceDeleteString(ss []string, sWillDelete string) []string
- type IntIntPair
- type KeyValueInt64Pair
- type KeyValuePair
- type KeyValueSlicePair
- type KvStringBytePair
- type MutexMapStringSetString
- type MutexMapStringString
- type MutexSetString
- type StringIntPair
- type StringListSet
- func (this *StringListSet) AppendString(s string)
- func (this *StringListSet) AppendStringSlice(ss []string)
- func (this StringListSet) At(idx int) (v string, exists bool)
- func (this *StringListSet) Contains(s string) bool
- func (this *StringListSet) GetSliceCopy() []string
- func (this StringListSet) Intersection(other StringListSet) StringListSet
- func (this StringListSet) Len() int
- func (this *StringListSet) Sort()
- type StringMapSet
- func (this StringMapSet) Clear()
- func (this StringMapSet) Contains(s string) bool
- func (this StringMapSet) Delete(s string)
- func (this StringMapSet) GetInnerMap() map[string]struct{}
- func (this StringMapSet) GetStringSlice() []string
- func (this *StringMapSet) InsertMap(m map[string]struct{})
- func (this StringMapSet) InsertSlice(ss []string)
- func (sms StringMapSet) IsZero() bool
- func (this StringMapSet) Len() int
- func (this StringMapSet) Set(s string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugStringIntPairList ¶
func DebugStringIntPairList(pairList []StringIntPair) string
func GetKeyListFromPairList ¶
func GetKeyListFromPairList(pairList []KeyValuePair) []string
func MapStringIntGetKeyList ¶
func MapStringSetStringAdd ¶
func MapStringStringValueSet ¶
func SetStringAddStringList ¶
func SortKeyValuePairList ¶
func SortKeyValuePairList(data []KeyValuePair)
func StringInt64PairSliceSort ¶
func StringInt64PairSliceSort(pairList []KeyValueInt64Pair)
func StringIntPairSliceSortByIntDesc ¶
func StringIntPairSliceSortByIntDesc(pairList []StringIntPair)
func StringIntPairSortByString ¶
func StringIntPairSortByString(pairList []StringIntPair)
func StringIntPairSortByStringDesc ¶
func StringIntPairSortByStringDesc(pairList []StringIntPair)
func StringListNoRepeat ¶
func StringListToSetString ¶
func StringSliceDeleteString ¶
Types ¶
type IntIntPair ¶
func MapIntIntToPairListByKeyIntAes ¶
func MapIntIntToPairListByKeyIntAes(m map[int]int) []IntIntPair
func MapIntIntToPairListByKeyIntDesc ¶
func MapIntIntToPairListByKeyIntDesc(m map[int]int) []IntIntPair
type KeyValueInt64Pair ¶
func MapStringInt64ToStringIntPairListByIntDesc ¶
func MapStringInt64ToStringIntPairListByIntDesc(m map[string]int64) []KeyValueInt64Pair
type KeyValuePair ¶
func MapStringStringToKeyValuePairListAes ¶
func MapStringStringToKeyValuePairListAes(m map[string]string) []KeyValuePair
type KeyValueSlicePair ¶
type KvStringBytePair ¶
type MutexMapStringSetString ¶
type MutexMapStringSetString struct {
// contains filtered or unexported fields
}
func (*MutexMapStringSetString) Add ¶
func (m *MutexMapStringSetString) Add(k1 string, k2 string)
func (*MutexMapStringSetString) GetK1Len ¶
func (m *MutexMapStringSetString) GetK1Len(k1 string) int
type MutexMapStringString ¶
type MutexMapStringString struct {
// contains filtered or unexported fields
}
func (*MutexMapStringString) Del ¶
func (m *MutexMapStringString) Del(k string)
func (*MutexMapStringString) Get ¶
func (m *MutexMapStringString) Get(k string) string
func (*MutexMapStringString) Set ¶
func (m *MutexMapStringString) Set(k string, v string)
type MutexSetString ¶
type MutexSetString struct {
// contains filtered or unexported fields
}
func (*MutexSetString) Clear ¶
func (ss *MutexSetString) Clear()
func (*MutexSetString) Has ¶
func (ss *MutexSetString) Has(k string) bool
func (*MutexSetString) Len ¶
func (ss *MutexSetString) Len() int
func (*MutexSetString) Set ¶
func (ss *MutexSetString) Set(k string)
func (*MutexSetString) SetAllByMap ¶
func (ss *MutexSetString) SetAllByMap(m map[string]struct{})
type StringIntPair ¶
func MapStringIntToStringIntPairListByIntDesc ¶
func MapStringIntToStringIntPairListByIntDesc(m map[string]int) []StringIntPair
type StringListSet ¶
type StringListSet struct {
// contains filtered or unexported fields
}
func (*StringListSet) AppendString ¶
func (this *StringListSet) AppendString(s string)
func (*StringListSet) AppendStringSlice ¶
func (this *StringListSet) AppendStringSlice(ss []string)
func (*StringListSet) Contains ¶
func (this *StringListSet) Contains(s string) bool
func (*StringListSet) GetSliceCopy ¶
func (this *StringListSet) GetSliceCopy() []string
func (StringListSet) Intersection ¶
func (this StringListSet) Intersection(other StringListSet) StringListSet
func (StringListSet) Len ¶
func (this StringListSet) Len() int
func (*StringListSet) Sort ¶
func (this *StringListSet) Sort()
type StringMapSet ¶
type StringMapSet struct {
// contains filtered or unexported fields
}
func NewStringMapSet ¶
func NewStringMapSet() StringMapSet
func (StringMapSet) Clear ¶
func (this StringMapSet) Clear()
func (StringMapSet) Contains ¶
func (this StringMapSet) Contains(s string) bool
func (StringMapSet) Delete ¶
func (this StringMapSet) Delete(s string)
func (StringMapSet) GetInnerMap ¶
func (this StringMapSet) GetInnerMap() map[string]struct{}
func (StringMapSet) GetStringSlice ¶
func (this StringMapSet) GetStringSlice() []string
func (*StringMapSet) InsertMap ¶
func (this *StringMapSet) InsertMap(m map[string]struct{})
func (StringMapSet) InsertSlice ¶
func (this StringMapSet) InsertSlice(ss []string)
func (StringMapSet) IsZero ¶
func (sms StringMapSet) IsZero() bool
func (StringMapSet) Len ¶
func (this StringMapSet) Len() int
func (StringMapSet) Set ¶
func (this StringMapSet) Set(s string)
Click to show internal directories.
Click to hide internal directories.