enumerator

package
v0.74.1-pre Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Next

func Next(e Enumerator) interface{}

Next returns the next item in the iteration.

func Value

func Value(e Enumerator) interface{}

Value returns the enumerator value.

Types

type Enumerator

type Enumerator struct{}

Enumerator stubs a NEO enumerator type.

func Concat

func Concat(a, b Enumerator) Enumerator

Concat concatenates the 2 given enumerators.

func Create

func Create(items []interface{}) Enumerator

Create creates a new enumerator from the given items.

Jump to

Keyboard shortcuts

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