_341_flatten_nested_list_iterator

package
v0.0.0-...-4cd11fd Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.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(elem 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 (ni *NestedIterator) HasNext() bool

func (*NestedIterator) Next

func (ni *NestedIterator) Next() int

Jump to

Keyboard shortcuts

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