Documentation ¶
Index ¶
- Constants
- type Iterator
- type Vector
- func (v *Vector[T]) Back() T
- func (v *Vector[T]) Clear()
- func (v *Vector[T]) Count() int32
- func (v *Vector[T]) Empty() bool
- func (v *Vector[T]) Erase(pos int32)
- func (v *Vector[T]) Front() T
- func (v *Vector[T]) Get(pos int32) T
- func (v *Vector[T]) Iterator() Iterator[T]
- func (v *Vector[T]) PopBack()
- func (v *Vector[T]) PopFront()
- func (v *Vector[T]) PushBack(val T)
- func (v *Vector[T]) PushFront(val T)
- func (v *Vector[T]) Size() int32
- func (v *Vector[T]) Swap(i, j int32)
- func (v *Vector[T]) Values() []T
- func (v *Vector[T]) WithInRange(index int32) bool
Constants ¶
View Source
const (
VectorBlockSize = 16
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vector ¶
type Vector[T any] struct { // contains filtered or unexported fields }
func (*Vector[T]) WithInRange ¶
Click to show internal directories.
Click to hide internal directories.