Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkedList ¶
type LinkedList[T any] struct { // contains filtered or unexported fields }
func (*LinkedList[T]) Dequeue ¶
func (l *LinkedList[T]) Dequeue() (value T, valid bool)
Dequeue returns the first value on the list
func (*LinkedList[T]) Pop ¶
func (l *LinkedList[T]) Pop() (value T, valid bool)
Pop removes a value from the end of the list
func (*LinkedList[T]) Push ¶
func (l *LinkedList[T]) Push(value T)
Push adds a value to the end of the list
Click to show internal directories.
Click to hide internal directories.