vector

package
v0.0.0-...-e532b39 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConcurrentVector

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

func NewConcurrentVector

func NewConcurrentVector(cap int) ConcurrentVector

func (*ConcurrentVector) Append

func (v *ConcurrentVector) Append(value interface{})

func (*ConcurrentVector) Get

func (v *ConcurrentVector) Get(idx int) interface{}

func (*ConcurrentVector) Len

func (v *ConcurrentVector) Len() int

func (*ConcurrentVector) Pop

func (v *ConcurrentVector) Pop() (data interface{}, ok bool)

func (*ConcurrentVector) Resize

func (v *ConcurrentVector) Resize(size int)

func (*ConcurrentVector) Set

func (v *ConcurrentVector) Set(idx int, data interface{})

type LockVector

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

func (*LockVector) Append

func (v *LockVector) Append(value interface{})

func (*LockVector) Cap

func (v *LockVector) Cap() int

func (*LockVector) Get

func (v *LockVector) Get(idx int) (value interface{}, ok bool)

func (*LockVector) Len

func (v *LockVector) Len() int

func (*LockVector) Pop

func (v *LockVector) Pop() (value interface{}, ok bool)

func (*LockVector) Resize

func (v *LockVector) Resize(newLength int)

func (*LockVector) Set

func (v *LockVector) Set(idx int, element interface{})

Jump to

Keyboard shortcuts

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