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
Click to show internal directories.
Click to hide internal directories.