Documentation ¶
Overview ¶
This package serves to define the set of static 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 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 ¶
type ReadDeque[V any] interface { containerTypes.RWSyncable containerTypes.Addressable containerTypes.Length containerTypes.Capacity containerTypes.LastElemRead[V] containerTypes.FirstElemRead[V] containerTypes.StaticCapacity }
An interface that only allows read operations on a deque.
type ReadQueue ¶
type ReadQueue[V any] interface { containerTypes.RWSyncable containerTypes.Addressable containerTypes.Length containerTypes.Capacity containerTypes.FirstElemRead[V] containerTypes.StaticCapacity }
An interface that only allows read operations on a queue.
type ReadSet ¶
type ReadSet[V any] interface { containerTypes.RWSyncable containerTypes.Addressable containerTypes.Length containerTypes.ReadOps[V] containerTypes.ReadUniqueOps[V] containerTypes.Comparisons[ containerTypes.ComparisonsOtherConstraint[V], V, ] containerTypes.StaticCapacity }
An interface that only allows read operations on a set.
type ReadStack ¶
type ReadStack[V any] interface { containerTypes.RWSyncable containerTypes.Addressable containerTypes.Length containerTypes.Capacity containerTypes.LastElemRead[V] containerTypes.StaticCapacity }
An interface that only allows read operations on a stack.
type ReadVector ¶
type ReadVector[V any] interface { containerTypes.RWSyncable containerTypes.Addressable containerTypes.Length containerTypes.Capacity containerTypes.ReadOps[V] containerTypes.ReadKeyedOps[int, V] containerTypes.Comparisons[ containerTypes.ComparisonsOtherConstraint[V], V, ] containerTypes.KeyedComparisons[ containerTypes.KeyedComparisonsOtherConstraint[int, V], int, V, ] containerTypes.StaticCapacity }
An interface that only allows read operations on a vector.
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 WriteDeque ¶
type WriteDeque[V any] interface { containerTypes.RWSyncable containerTypes.Clear containerTypes.Length containerTypes.Capacity containerTypes.LastElemWrite[V] containerTypes.FirstElemWrite[V] containerTypes.LastElemDelete[V] containerTypes.FirstElemDelete[V] }
An interface that only allows write operations on a deque.
type WriteQueue ¶
type WriteQueue[V any] interface { containerTypes.RWSyncable containerTypes.Clear containerTypes.Length containerTypes.Capacity containerTypes.LastElemWrite[V] containerTypes.FirstElemDelete[V] }
An interface that only allows write operations on a queue.
type WriteSet ¶
type WriteSet[V any] interface { containerTypes.RWSyncable containerTypes.Clear containerTypes.Length containerTypes.WriteUniqueOps[uint64, V] containerTypes.DeleteOps[uint64, V] containerTypes.SetOperations[ containerTypes.ComparisonsOtherConstraint[V], V, ] }
An interface that only allows write operations on a set.
type WriteStack ¶
type WriteStack[V any] interface { containerTypes.RWSyncable containerTypes.Clear containerTypes.Length containerTypes.Capacity containerTypes.LastElemWrite[V] containerTypes.LastElemDelete[V] }
An interface that only allows write operations on a stack.
type WriteVector ¶
type WriteVector[V any] interface { containerTypes.RWSyncable containerTypes.Clear containerTypes.Length containerTypes.Capacity containerTypes.WriteOps[V] containerTypes.WriteKeyedOps[int, V] containerTypes.WriteKeyedSequentialOps[int, V] containerTypes.WriteDynKeyedOps[int, V] containerTypes.DeleteOps[int, V] containerTypes.DeleteKeyedOps[int, V] containerTypes.DeleteSequentialOps[int, V] containerTypes.DeleteKeyedSequentialOps[int, V] containerTypes.SetOperations[ containerTypes.ComparisonsOtherConstraint[V], V, ] }
An interface that only allows write operations on a vector.