concurrent

package
v0.0.0-...-f901d98 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 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 struct {
	// contains filtered or unexported fields
}

func NewMap

func NewMap() (enmmp *Map)

func (*Map) Count

func (enmmp *Map) Count() (cnt int)

func (*Map) Del

func (enmmp *Map) Del(key ...interface{})

func (*Map) Dispose

func (enmmp *Map) Dispose()

func (*Map) Field

func (enmmp *Map) Field(key any, field string, a ...interface{}) (result []interface{})

func (*Map) Find

func (enmmp *Map) Find(k ...interface{}) (value interface{}, found bool)

func (*Map) ForEach

func (enmmp *Map) ForEach(eachitem func(interface{}, interface{}, bool, bool) bool)

func (*Map) Get

func (enmmp *Map) Get(key interface{}) (value interface{}, loaded bool)

func (*Map) Invoke

func (enmmp *Map) Invoke(key any, method string, a ...interface{}) (result []interface{})

func (*Map) Range

func (enmmp *Map) Range(ietrfunc func(key, value any) bool)

func (*Map) Set

func (enmmp *Map) Set(key interface{}, value interface{})

type Slice

type Slice struct {
	*Map
}

func NewSlize

func NewSlize() (slce *Slice)

func (*Slice) Append

func (slce *Slice) Append(a ...interface{})

func (*Slice) Del

func (slce *Slice) Del(index ...int)

func (*Slice) Dispose

func (slce *Slice) Dispose()

func (*Slice) Field

func (slce *Slice) Field(index int, field string, a ...interface{}) (result []interface{})

func (*Slice) Find

func (slce *Slice) Find(k ...interface{}) (value interface{}, found bool)

func (*Slice) ForEach

func (slce *Slice) ForEach(eachitem func(interface{}, int, bool, bool) bool)

func (*Slice) Get

func (slce *Slice) Get(index int) (value interface{})

func (*Slice) Invoke

func (slce *Slice) Invoke(index int, method string, a ...interface{}) (result []interface{})

func (*Slice) Range

func (slce *Slice) Range(index ...int) (vals []interface{})

Jump to

Keyboard shortcuts

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