stack

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: 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