Documentation
¶
Index ¶
- Constants
- type Item
- type SortedMap
- func Add(ss SortedMap, key string, value interface{}) SortedMap
- func Delete(ss SortedMap, key string) (SortedMap, bool)
- func DeleteIgnoreCase(ss SortedMap, key string) (SortedMap, string, bool)
- func Merge(a, b SortedMap) SortedMap
- func NewSortedMap() SortedMap
- func NewSortedMapFromMap(omap map[string]interface{}) SortedMap
- func NewSortedMapFromMapWithCapa(omap map[string]interface{}, capa int) SortedMap
- func NewSortedMapWithCapa(capa int) SortedMap
- func Split(a, b SortedMap) (a_b, anbA, anbB, b_a SortedMap)
- func (ss SortedMap) Contains(needle string) bool
- func (ss SortedMap) ContainsAll(needles ...string) bool
- func (ss SortedMap) ContainsAny(needles ...string) bool
- func (ss SortedMap) Get(key string) (interface{}, bool)
- func (ss SortedMap) GetIgnoreCase(key string) (interface{}, string, bool)
- func (ss SortedMap) Keys() []string
- type SortedMapIterator
Constants ¶
View Source
const (
InitCapa = 10
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SortedMap ¶
type SortedMap []Item
func NewSortedMap ¶
func NewSortedMap() SortedMap
func NewSortedMapFromMap ¶
func NewSortedMapWithCapa ¶
func (SortedMap) ContainsAll ¶
func (SortedMap) ContainsAny ¶
func (SortedMap) GetIgnoreCase ¶
type SortedMapIterator ¶
type SortedMapIterator struct {
// contains filtered or unexported fields
}
func NewIterator ¶
func NewIterator(smap SortedMap) *SortedMapIterator
func (SortedMapIterator) Get ¶
func (i SortedMapIterator) Get() (string, interface{})
func (SortedMapIterator) HasMore ¶
func (i SortedMapIterator) HasMore() bool
func (*SortedMapIterator) Init ¶
func (i *SortedMapIterator) Init(smap SortedMap)
func (*SortedMapIterator) Next ¶
func (i *SortedMapIterator) Next()
Click to show internal directories.
Click to hide internal directories.