xlinkedhashmap

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: MIT Imports: 6 Imported by: 0

README

xlinkedhashmap

References
  • xreflect
  • xtesting*
Functions
  • type LinkedHashMap struct {}
  • New() *LinkedHashMap
  • (l *LinkedHashMap) Keys() []string
  • (l *LinkedHashMap) Values() []interface{}
  • (l *LinkedHashMap) Len() int
  • (l *LinkedHashMap) Set(key string, value interface{})
  • (l *LinkedHashMap) Has(key string) bool
  • (l *LinkedHashMap) Get(key string) (interface{}, bool)
  • (l *LinkedHashMap) GetDefault(key string, defaultValue interface{}) interface{}
  • (l *LinkedHashMap) GetForce(key string) interface{}
  • (l *LinkedHashMap) Remove(key string) (interface{}, bool)
  • (l *LinkedHashMap) Clear()
  • (l *LinkedHashMap) MarshalJSON() ([]byte, error)
  • (l *LinkedHashMap) MarshalYAML() (interface{}, error)
  • (l *LinkedHashMap) String() string
  • FromInterface(object interface{}) *LinkedHashMap

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkedHashMap

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

func FromInterface

func FromInterface(object interface{}) *LinkedHashMap

func New added in v1.4.0

func New() *LinkedHashMap

func (*LinkedHashMap) Clear

func (l *LinkedHashMap) Clear()

func (*LinkedHashMap) Get

func (l *LinkedHashMap) Get(key string) (interface{}, bool)

func (*LinkedHashMap) GetDefault

func (l *LinkedHashMap) GetDefault(key string, defaultValue interface{}) interface{}

func (*LinkedHashMap) GetForce added in v1.4.0

func (l *LinkedHashMap) GetForce(key string) interface{}

func (*LinkedHashMap) Has added in v1.4.0

func (l *LinkedHashMap) Has(key string) bool

func (*LinkedHashMap) Keys added in v1.4.0

func (l *LinkedHashMap) Keys() []string

func (*LinkedHashMap) Len added in v1.4.0

func (l *LinkedHashMap) Len() int

func (*LinkedHashMap) MarshalJSON

func (l *LinkedHashMap) MarshalJSON() ([]byte, error)

func (*LinkedHashMap) MarshalYAML added in v1.4.0

func (l *LinkedHashMap) MarshalYAML() (interface{}, error)

func (*LinkedHashMap) Remove

func (l *LinkedHashMap) Remove(key string) (interface{}, bool)

func (*LinkedHashMap) Set

func (l *LinkedHashMap) Set(key string, value interface{})

func (*LinkedHashMap) String

func (l *LinkedHashMap) String() string

func (*LinkedHashMap) Values added in v1.4.0

func (l *LinkedHashMap) Values() []interface{}

Jump to

Keyboard shortcuts

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