deque

package
v0.0.0-...-56b3168 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deque

type Deque[T comparable] interface {
	IsFull() bool
	IsEmpty() bool
	Len() int
	AppendLeft(value T) bool
	AppendRight(value T) bool
	PeekLeft() (T, bool)
	PeekRight() (T, bool)
	PopLeft() (T, bool)
	PopRight() (T, bool)
}

Implementation of the deque interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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