udwSortedMap

package
v0.0.0-...-f254aa5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SortType

type SortType string
const (
	DescSortByValue SortType = "DescSortByValue"
	AscSortByValue  SortType = "AscSortByValue"
	SortByKey       SortType = "SortByKey"
)

type StringSlice

type StringSlice []string

func (StringSlice) Len

func (p StringSlice) Len() int

func (StringSlice) Less

func (p StringSlice) Less(i, j int) bool

func (StringSlice) Swap

func (p StringSlice) Swap(i, j int)

type StringToFloat64Map

type StringToFloat64Map struct {
	// contains filtered or unexported fields
}

func NewStringToFloat64Map

func NewStringToFloat64Map() *StringToFloat64Map

func (*StringToFloat64Map) Del

func (sfm *StringToFloat64Map) Del(k string)

func (*StringToFloat64Map) Get

func (sfm *StringToFloat64Map) Get(key string) (v float64, ok bool)

func (*StringToFloat64Map) Keys

func (sfm *StringToFloat64Map) Keys(st SortType) []string

func (*StringToFloat64Map) KeysByValueAsc

func (sfm *StringToFloat64Map) KeysByValueAsc() []string

func (*StringToFloat64Map) KeysByValueDesc

func (sfm *StringToFloat64Map) KeysByValueDesc() []string

func (*StringToFloat64Map) Set

func (sfm *StringToFloat64Map) Set(k string, v float64)

type StringToInt64Map

type StringToInt64Map struct {
	// contains filtered or unexported fields
}

func NewStringToInt64Map

func NewStringToInt64Map() *StringToInt64Map

func (*StringToInt64Map) Del

func (sfm *StringToInt64Map) Del(k string)

func (*StringToInt64Map) Get

func (sfm *StringToInt64Map) Get(key string) (v int64, ok bool)

func (*StringToInt64Map) Keys

func (sfm *StringToInt64Map) Keys(st SortType) []string

func (*StringToInt64Map) KeysByValueAsc

func (sfm *StringToInt64Map) KeysByValueAsc() []string

func (*StringToInt64Map) KeysByValueDesc

func (sfm *StringToInt64Map) KeysByValueDesc() []string

func (*StringToInt64Map) Set

func (sfm *StringToInt64Map) Set(k string, v int64)

type StringToIntMap

type StringToIntMap struct {
	// contains filtered or unexported fields
}

func NewStringToIntMap

func NewStringToIntMap() *StringToIntMap

func (*StringToIntMap) Del

func (sfm *StringToIntMap) Del(k string)

func (*StringToIntMap) Get

func (sfm *StringToIntMap) Get(key string) (v int, ok bool)

func (*StringToIntMap) Keys

func (sfm *StringToIntMap) Keys(st SortType) []string

func (*StringToIntMap) KeysByValueAsc

func (sfm *StringToIntMap) KeysByValueAsc() []string

func (*StringToIntMap) KeysByValueDesc

func (sfm *StringToIntMap) KeysByValueDesc() []string

func (*StringToIntMap) Set

func (sfm *StringToIntMap) Set(k string, v int)

type StringToStringMap

type StringToStringMap struct {
	// contains filtered or unexported fields
}

func NewStringToStringMap

func NewStringToStringMap() *StringToStringMap

func (*StringToStringMap) Del

func (sfm *StringToStringMap) Del(k string)

func (*StringToStringMap) Get

func (sfm *StringToStringMap) Get(key string) (v string, ok bool)

func (*StringToStringMap) Keys

func (sfm *StringToStringMap) Keys(st SortType) []string

func (*StringToStringMap) KeysByValueAsc

func (sfm *StringToStringMap) KeysByValueAsc() []string

func (*StringToStringMap) KeysByValueDesc

func (sfm *StringToStringMap) KeysByValueDesc() []string

func (*StringToStringMap) Set

func (sfm *StringToStringMap) Set(k string, v string)

type Uint64Slice

type Uint64Slice []uint64

func (Uint64Slice) Len

func (p Uint64Slice) Len() int

func (Uint64Slice) Less

func (p Uint64Slice) Less(i, j int) bool

func (Uint64Slice) Swap

func (p Uint64Slice) Swap(i, j int)

type Uint64ToUint64Map

type Uint64ToUint64Map struct {
	// contains filtered or unexported fields
}

func NewUint64ToUint64Map

func NewUint64ToUint64Map() *Uint64ToUint64Map

func (*Uint64ToUint64Map) Del

func (sfm *Uint64ToUint64Map) Del(k uint64)

func (*Uint64ToUint64Map) Get

func (sfm *Uint64ToUint64Map) Get(key uint64) (v uint64, ok bool)

func (*Uint64ToUint64Map) Keys

func (sfm *Uint64ToUint64Map) Keys(st SortType) []uint64

func (*Uint64ToUint64Map) KeysByValueAsc

func (sfm *Uint64ToUint64Map) KeysByValueAsc() []uint64

func (*Uint64ToUint64Map) KeysByValueDesc

func (sfm *Uint64ToUint64Map) KeysByValueDesc() []uint64

func (*Uint64ToUint64Map) Set

func (sfm *Uint64ToUint64Map) Set(k uint64, v uint64)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL