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 struct {
	// contains filtered or unexported fields
}

func Constructor

func Constructor(capacity int) *Array

构造函数,传入数组的容量capacity构造Array

func (*Array) GetCapacity

func (this *Array) GetCapacity() int

获取数组的容量

func (*Array) GetSize

func (this *Array) GetSize() int

获得数组中的元素个数

func (*Array) IsEmpty

func (this *Array) IsEmpty() bool

返回数组是否为空

Jump to

Keyboard shortcuts

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