stack

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 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 New

func New() *Stack

func (*Stack) IsEmpty

func (stack *Stack) IsEmpty() 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