Monotonous

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 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 Assists

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

type Comparable

type Comparable interface {
	CompareTo(v Comparable) int
}

type Queue

type Queue Assists

func (*Queue) Max

func (q *Queue) Max() interface{}

func (*Queue) Min

func (q *Queue) Min() interface{}

func (*Queue) Pop

func (q *Queue) Pop() interface{}

func (*Queue) PopAssist

func (q *Queue) PopAssist(v Comparable)

func (*Queue) Push

func (q *Queue) Push(v Comparable)

func (*Queue) PushAssist

func (q *Queue) PushAssist(v Comparable)

func (*Queue) Top

func (q *Queue) Top() interface{}

type Stack

type Stack Assists

func (*Stack) Max

func (s *Stack) Max() interface{}

func (*Stack) Min

func (s *Stack) Min() interface{}

func (*Stack) Pop

func (s *Stack) Pop() interface{}

func (*Stack) PopAssist

func (s *Stack) PopAssist(v Comparable)

func (*Stack) Push

func (s *Stack) Push(v Comparable)

func (*Stack) PushAssist

func (s *Stack) PushAssist(v Comparable)

func (*Stack) Top

func (s *Stack) Top() interface{}

type Structure

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

func NewStructure

func NewStructure(monotonous monotonous) *Structure

Jump to

Keyboard shortcuts

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