Documentation ¶ Index ¶ type ListQueue func New[T any](size int) *ListQueue[T] func (q *ListQueue[T]) Pop() (T, bool) func (q *ListQueue[T]) Push(data T) type Node func (n *Node[T]) Next() *Node[T] func (n *Node[T]) Previous() *Node[T] func (n *Node[T]) Set(value T) func (n *Node[T]) Value() T Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type ListQueue ¶ type ListQueue[T any] struct { // contains filtered or unexported fields } func New ¶ func New[T any](size int) *ListQueue[T] func (*ListQueue[T]) Pop ¶ func (q *ListQueue[T]) Pop() (T, bool) func (*ListQueue[T]) Push ¶ func (q *ListQueue[T]) Push(data T) type Node ¶ type Node[T any] struct { // contains filtered or unexported fields } func (*Node[T]) Next ¶ func (n *Node[T]) Next() *Node[T] func (*Node[T]) Previous ¶ func (n *Node[T]) Previous() *Node[T] func (*Node[T]) Set ¶ func (n *Node[T]) Set(value T) func (*Node[T]) Value ¶ func (n *Node[T]) Value() T Source Files ¶ View all Source files list_queue.go Click to show internal directories. Click to hide internal directories.