types

package
v0.0.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValueOf

func ValueOf(v ...reflect.Value) []reflect.Value

Types

type Queue

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

func QueueOf

func QueueOf(val ...interface{}) *Queue

func (*Queue) Del

func (t *Queue) Del(index uint32)

func (*Queue) First

func (t *Queue) First() interface{}

func (*Queue) Get

func (t *Queue) Get(index uint32) interface{}

func (*Queue) Last

func (t *Queue) Last() interface{}

func (*Queue) List

func (t *Queue) List() []interface{}

func (*Queue) Pop

func (t *Queue) Pop()

func (*Queue) PopFirst

func (t *Queue) PopFirst()

func (*Queue) Push

func (t *Queue) Push(val interface{})

type SMap

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

func NewSMap

func NewSMap() *SMap

func (*SMap) Delete

func (t *SMap) Delete(key interface{})

func (*SMap) Each

func (t *SMap) Each(fn interface{}) (err error)

func (*SMap) Get

func (t *SMap) Get(key interface{}) (value interface{})

func (*SMap) Has

func (t *SMap) Has(key interface{}) (ok bool)

func (*SMap) Len

func (t *SMap) Len() int

func (*SMap) Load

func (t *SMap) Load(key interface{}) (value interface{}, ok bool)

func (*SMap) Map

func (t *SMap) Map(data interface{}) (err error)

func (*SMap) Range

func (t *SMap) Range(f func(key, value interface{}) bool)

func (*SMap) Set

func (t *SMap) Set(key, value interface{})

type Set

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

func SetOf

func SetOf(val ...interface{}) *Set

func (*Set) Add

func (t *Set) Add(v interface{})

func (*Set) Each

func (t *Set) Each(fn interface{})

func (*Set) Has

func (t *Set) Has(v interface{}) bool

func (*Set) Len

func (t *Set) Len() uint32

func (*Set) List

func (t *Set) List() (val []interface{})

func (*Set) Map

func (t *Set) Map(data interface{}) (err error)

Jump to

Keyboard shortcuts

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