array2

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array2

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

func New

func New() *Array2

func NewWithCap

func NewWithCap(ysize, xsize int) *Array2

func (*Array2) Cap

func (arr *Array2) Cap() int

func (*Array2) Del

func (arr *Array2) Del(idx int) (interface{}, bool)

func (*Array2) Get

func (arr *Array2) Get(idx int) (interface{}, bool)

func (*Array2) GetOrSet

func (arr *Array2) GetOrSet(idx int, DoSetValue func([]interface{}, int)) (result interface{}, isSet bool)

func (*Array2) Grow

func (arr *Array2) Grow(size int)

func (*Array2) Set

func (arr *Array2) Set(idx int, value interface{})

func (*Array2) Values

func (arr *Array2) Values() []interface{}

Jump to

Keyboard shortcuts

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