stack

package
v0.0.0-...-1ec79b4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: GPL-3.0 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[T any] struct {
	// contains filtered or unexported fields
}

func (*Stack[T]) Clone

func (stack *Stack[T]) Clone() *Stack[T]

func (*Stack[T]) Len

func (stack *Stack[T]) Len() int

func (*Stack[T]) Peek

func (stack *Stack[T]) Peek() (T, bool)

func (*Stack[T]) Pop

func (stack *Stack[T]) Pop() (T, bool)

func (*Stack[T]) Push

func (stack *Stack[T]) Push(values ...T)

Jump to

Keyboard shortcuts

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