Array

package
v0.0.0-...-adc727d Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array interface {
	Add(int, interface{})
	AddFirst(interface{})
	AddLast(interface{})
	Remove(int) interface{}
	RemoveFirst() interface{}
	RemoveLast() interface{}
	Find(interface{}) int
	FindAll(interface{}) []int
	Contains(interface{}) bool
	Get(int) interface{}
	Set(int, interface{})
	GetCapacity() int // 获得数组容量
	GetSize() int     // 获得元素个数
	IsEmpty() bool
	RemoveElement(interface{}) bool
}

Jump to

Keyboard shortcuts

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