Limited List. This list at max contains a specific amount of elements. After the max number of elements has been added, the first element added will be removed.
Gets the current pointer.
LimitedList
Contains the Length of the list.
Returns the current item, the pointer is showing at.
Returns the Pointer to the first item.
Helper to iterate over all items.
Optional
Pops the last element. If there is no element undefined is returned.
The last element.
Returns the last item. Adapts the pointer and the current item is the last item. example: l = limited.last() c = limited.current()
l == c -> True
Adds Data to the Stack. The Pointer is getting adapted.
Generated using TypeDoc
Limited List. This list at max contains a specific amount of elements. After the max number of elements has been added, the first element added will be removed.