collections

package
v0.0.0-...-145960c Latest Latest
Warning

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

Go to latest
Published: Oct 16, 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 HashMap

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

func NewHashMap

func NewHashMap() *HashMap

func (*HashMap) Count

func (hm *HashMap) Count() int

func (*HashMap) Get

func (hm *HashMap) Get(key string) (interface{}, uint64, bool, error)

func (*HashMap) GetIterator

func (hm *HashMap) GetIterator() *HashMapIterator

func (*HashMap) SetByHash

func (hm *HashMap) SetByHash(key string, hash uint64, value interface{}) error

type HashMapIterator

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

func (*HashMapIterator) Next

func (iter *HashMapIterator) Next() (string, interface{}, bool)

type Stack

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

func NewStack

func NewStack() *Stack

func (*Stack) Len

func (stack *Stack) Len() int

func (*Stack) Peek

func (stack *Stack) Peek() interface{}

func (*Stack) Pop

func (stack *Stack) Pop() interface{}

func (*Stack) Push

func (stack *Stack) Push(value interface{})

Jump to

Keyboard shortcuts

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