structs

package
v0.0.0-...-817dee4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map interface {
	GetInt(key interface{}) (value *int)
	GetUInt(key interface{}) (value *uint)
	GetString(key interface{}) (value *string)
	PutInt(key interface{}, value int)
	PutUInt(key interface{}, value uint)
	Contains(value interface{}) bool
	maps.Map
}

func NewMap

func NewMap() Map

type MapImpl

type MapImpl struct {
	*hashmap.Map
	// contains filtered or unexported fields
}

func (*MapImpl) Clear

func (m *MapImpl) Clear()

func (*MapImpl) Contains

func (m *MapImpl) Contains(value interface{}) bool

func (*MapImpl) Empty

func (m *MapImpl) Empty() bool

func (*MapImpl) Get

func (m *MapImpl) Get(key interface{}) (value interface{}, found bool)

func (*MapImpl) GetInt

func (m *MapImpl) GetInt(key interface{}) (value *int)

func (*MapImpl) GetKey

func (m *MapImpl) GetKey(value interface{}) (key interface{}, found bool)

func (*MapImpl) GetString

func (m *MapImpl) GetString(key interface{}) (value *string)

func (*MapImpl) GetUInt

func (m *MapImpl) GetUInt(key interface{}) (value *uint)

func (*MapImpl) Keys

func (m *MapImpl) Keys() []interface{}

func (*MapImpl) Put

func (m *MapImpl) Put(key interface{}, value interface{})

func (*MapImpl) PutInt

func (m *MapImpl) PutInt(key interface{}, value int)

func (*MapImpl) PutUInt

func (m *MapImpl) PutUInt(key interface{}, value uint)

func (*MapImpl) Remove

func (m *MapImpl) Remove(key interface{})

func (*MapImpl) Size

func (m *MapImpl) Size() int

func (*MapImpl) String

func (m *MapImpl) String() string

func (*MapImpl) Values

func (m *MapImpl) Values() []interface{}

type SetImpl

type SetImpl struct {
	*hashset.Set
	// contains filtered or unexported fields
}

func NewSet

func NewSet() *SetImpl

func (*SetImpl) Add

func (s *SetImpl) Add(items ...interface{})

func (*SetImpl) Contains

func (s *SetImpl) Contains(items ...interface{}) bool

func (*SetImpl) Remove

func (s *SetImpl) Remove(items ...interface{})

func (*SetImpl) Values

func (s *SetImpl) Values() []interface{}

Jump to

Keyboard shortcuts

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