stacks

package
v0.0.0-...-09f00c6 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 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 ItemType

type ItemType interface{}

type Stack

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

func (*Stack) All

func (stack *Stack) All() []ItemType

func (*Stack) IsEmpty

func (stack *Stack) IsEmpty() bool

func (*Stack) Pop

func (stack *Stack) Pop() *ItemType

func (*Stack) Push

func (stack *Stack) Push(item ItemType)

func (*Stack) Size

func (stack *Stack) Size() int

Jump to

Keyboard shortcuts

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