arrmap

package
v0.0.0-...-012d1c6 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringMap

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

递增有序,相当于map[string]interface{},使用数组保存 https://developer.android.com/reference/android/support/v4/util/ArrayMap

func (*StringMap) Clear

func (m *StringMap) Clear()

func (*StringMap) ContainsKey

func (m *StringMap) ContainsKey(key string) bool

func (*StringMap) ContainsValue

func (m *StringMap) ContainsValue(value interface{}) bool

func (*StringMap) Get

func (m *StringMap) Get(key string) (interface{}, bool)

func (*StringMap) IndexOf

func (m *StringMap) IndexOf(key string) int

func (*StringMap) IsEmpty

func (m *StringMap) IsEmpty() bool

func (*StringMap) KeyAt

func (m *StringMap) KeyAt(index int) string

func (*StringMap) Len

func (m *StringMap) Len() int

func (*StringMap) Remove

func (m *StringMap) Remove(key string) interface{}

func (*StringMap) RemoveAt

func (m *StringMap) RemoveAt(index int) interface{}

func (*StringMap) Set

func (m *StringMap) Set(key string, value interface{})

func (*StringMap) SetValueAt

func (m *StringMap) SetValueAt(index int, value interface{})

func (*StringMap) ValueAt

func (m *StringMap) ValueAt(index int) interface{}

Jump to

Keyboard shortcuts

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