datastructures

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stack

type Stack[K any] struct {
	// contains filtered or unexported fields
}

func (*Stack[K]) Clear added in v0.5.5

func (stack *Stack[K]) Clear()

func (*Stack[K]) Pop

func (stack *Stack[K]) Pop() *K

func (*Stack[K]) Push

func (stack *Stack[K]) Push(value *K)

func (*Stack[K]) Size

func (stack *Stack[K]) Size() int

func (*Stack[K]) String added in v0.5.5

func (stack *Stack[K]) String() string

func (*Stack[K]) Top

func (stack *Stack[K]) Top() *K

Jump to

Keyboard shortcuts

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