Documentation ¶
Index ¶
- type Queue
- func (q *Queue[T]) Clear()
- func (q *Queue[T]) IsEmpty() bool
- func (q *Queue[T]) Len() int
- func (q *Queue[T]) Peek() T
- func (q *Queue[T]) PeekN(n int) []T
- func (q *Queue[T]) Pop() T
- func (q *Queue[T]) PopAll() []T
- func (q *Queue[T]) PopN(n int) []T
- func (q *Queue[T]) PopUntil(f func(T) bool) []T
- func (q *Queue[T]) PopWhile(f func(T) bool) []T
- func (q *Queue[T]) Push(v T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.