stack

package
v1.17.13 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT, Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stack

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

func NewStack

func NewStack() *Stack

func (*Stack) Empty

func (stack *Stack) Empty() bool

func (*Stack) Len

func (stack *Stack) Len() int

func (*Stack) Peak

func (stack *Stack) Peak() interface{}

func (*Stack) Pop

func (stack *Stack) Pop() interface{}

func (*Stack) Push

func (stack *Stack) Push(value interface{})

Jump to

Keyboard shortcuts

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