flatten_nested_list_iterator

package
v0.0.0-...-161f347 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NestedInteger

type NestedInteger struct {
	// contains filtered or unexported fields
}

func (*NestedInteger) Add

func (ni *NestedInteger) Add(intItem *NestedInteger)

func (*NestedInteger) GetInteger

func (ni *NestedInteger) GetInteger() int

func (*NestedInteger) GetList

func (ni *NestedInteger) GetList() []*NestedInteger

func (*NestedInteger) IsInteger

func (ni *NestedInteger) IsInteger() bool

func (*NestedInteger) SetInteger

func (ni *NestedInteger) SetInteger(value int)

type NestedIterator

type NestedIterator struct {
	// contains filtered or unexported fields
}

func Constructor

func Constructor(nestedList []*NestedInteger) *NestedIterator

func (*NestedIterator) HasNext

func (itr *NestedIterator) HasNext() bool

func (*NestedIterator) Next

func (itr *NestedIterator) Next() int

Jump to

Keyboard shortcuts

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