Documentation ¶
Index ¶
- type RingQueue
- func (q *RingQueue[T]) Capacity() int
- func (q *RingQueue[T]) Dequeue() (T, bool)
- func (q *RingQueue[T]) Enqueue(value T) bool
- func (q *RingQueue[T]) Front() (T, bool)
- func (q *RingQueue[T]) IsFull() bool
- func (q *RingQueue[T]) Length() int
- func (q *RingQueue[T]) LookAll() []T
- func (q *RingQueue[T]) Tail() (T, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RingQueue ¶
type RingQueue[T any] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.