interfaces

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 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 IList

type IList[T any] interface {
	Append(T) IList[T]
	Map(func(T) any) IList[any]
	Filter(func(T) bool) IList[T]
	// contains filtered or unexported methods
}

type IQueue

type IQueue[T any] interface {
	Enqueue(T)
	Dequeue() (*T, bool)
	Peek() (*T, bool)
	// contains filtered or unexported methods
}

type IStack

type IStack[T any] interface {
	Push(T)
	Pop() (*T, bool)
	Peek() (*T, bool)
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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