vector

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vector

type Vector[T any] []T

func (Vector[T]) Back

func (v Vector[T]) Back() T

func (Vector[T]) Front

func (v Vector[T]) Front() T

func (Vector[T]) Len

func (v Vector[T]) Len() int

func (*Vector[T]) PushBack

func (v *Vector[T]) PushBack(x T)

func (*Vector[T]) PushFront

func (v *Vector[T]) PushFront(x T)

func (Vector[T]) Swap

func (v Vector[T]) Swap(i, j int)

Jump to

Keyboard shortcuts

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