iterator

package
v0.0.0-...-9c9a4a3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 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 TwoD

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

func New2D

func New2D[T any](d [][]T) TwoD[T]

func (*TwoD[T]) Get

func (it *TwoD[T]) Get() T

func (*TwoD[T]) Next

func (it *TwoD[T]) Next() bool

func (*TwoD[T]) X

func (it *TwoD[T]) X() int

func (*TwoD[T]) Y

func (it *TwoD[T]) Y() int

Jump to

Keyboard shortcuts

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