dynamicContainers

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

This package serves to define the set of dynamic containers and expose them as interfaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deque

type Deque[V any] interface {
	ReadDeque[V]
	WriteDeque[V]
}

An interface that represents a deque with no restrictions on reading or writing.

type DirectedGraph

type DirectedGraph[V any, E any] interface {
	ReadDirectedGraph[V, E]
	WriteDirectedGraph[V, E]
}

An interface that represents a directed graph with no restrictions on reading or writing.

type Map

type Map[K any, V any] interface {
	ReadMap[K, V]
	WriteMap[K, V]
}

An interface that represents a map with no restrictions on reading or writing.

type Queue

type Queue[V any] interface {
	ReadQueue[V]
	WriteQueue[V]
}

An interface that represents a queue with no restrictions on reading or writing.

type ReadDeque

An interface that only allows read operations on a deque.

type ReadDirectedGraph

An interface that only allows read operations in a directed graph.

type ReadMap

An interface that only allows read operations on a map.

type ReadQueue

An interface that only allows read operations on a queue.

type ReadStack

An interface that only allows read operations on a stack.

type Set

type Set[V any] interface {
	ReadSet[V]
	WriteSet[V]
}

An interface that represents a set with no rectrictions on reading or writing.

type Stack

type Stack[V any] interface {
	ReadStack[V]
	WriteStack[V]
}

An interface that represents a stack with no restrictions on reading or writing.

type Vector

type Vector[V any] interface {
	ReadVector[V]
	WriteVector[V]
}

An interface that represents a vector with no restrictions on reading or writing.

type WriteDirectedGraph

An interface that only allows write operations on a directed graph.

type WriteMap

An interface that only allows write operations on a map.

type WriteQueue

An interface that only allows write operations on a queue.

type WriteStack

An interface that only allows write operations on a stack.

Jump to

Keyboard shortcuts

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