linked_stack

package
v0.0.0-...-cfba871 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkedStack

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

func New

func New() *LinkedStack

func (*LinkedStack) IsEmpty

func (st *LinkedStack) IsEmpty() bool

func (*LinkedStack) Peek

func (st *LinkedStack) Peek() (t types.T)

func (*LinkedStack) Pop

func (st *LinkedStack) Pop() (r types.T)

func (*LinkedStack) Push

func (st *LinkedStack) Push(t types.T)

func (*LinkedStack) Size

func (st *LinkedStack) Size() int

Jump to

Keyboard shortcuts

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