array

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2025 License: MIT Imports: 1 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[T any] struct {
	// contains filtered or unexported fields
}

func (*Array[T]) Add

func (s *Array[T]) Add(e T)

func (*Array[T]) DeleteFunc

func (s *Array[T]) DeleteFunc(f func(e T) bool)

func (*Array[T]) Elements

func (s *Array[T]) Elements() []T

func (*Array[T]) Empty

func (s *Array[T]) Empty() bool

func (*Array[T]) Get

func (s *Array[T]) Get(n int) T

func (*Array[T]) Len

func (s *Array[T]) Len() int

func (*Array[T]) SetCapacity

func (s *Array[T]) SetCapacity(c int)

Jump to

Keyboard shortcuts

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