array

package
v0.0.0-...-62b1f88 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rand

type Rand[T any] struct {
	// contains filtered or unexported fields
}

func NewRand

func NewRand[T any](rng *rand.Rand, logger *slog.Logger) *Rand[T]

func (*Rand[T]) Len

func (r *Rand[T]) Len() int

func (*Rand[T]) Pop

func (r *Rand[T]) Pop() (T, bool)

func (*Rand[T]) Push

func (r *Rand[T]) Push(value T)

Jump to

Keyboard shortcuts

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