The type of the satellite data.
The head (first LLNode node) of the linked list. This node is the first node encountered in LinkedList.traverse traversals.
The number of nodes in the linked list.
The maximum number of items in the queue at any given time.
If null
, there will be no restriction to the number of items.
Represents the last item in the queue.
This value changes when enqueue is called.
Inserts a value into the linked list.
Implement default behaviour to create set the new node as the new head as default behaviour when no insertAfter
is specified.
The satellite data of the new node to be inserted.
The LLNode after which to insert the new value.
Generated using TypeDoc
This inherits from LinkedList with two extra properties for a rear node and max length.
It also implements common actions on queues such as enqueue and dequeue.