constructor that gets content from arbitrary range
destructor
post-blit that does a full copy
last element, same as this[$-1]
number of elements this structure can hold without further allocations
remove all content but keep allocated memory
check for emptiness
first element, same as this[0]
number of elements
Allocated heap memory in bytes. This is recursive if V has a .memUsage property. Otherwise it is equal to V.sizeof * capacity
number of elements
indexing
default range
removes last element of the queue and returns it
removes first element of the queue and returns it
add an element to the back of the queue
add multiple elements to the back of the queue
add an element to the front of the queue
add multiple elements to the front of the queue
make sure this structure can contain given number of elements without further allocs
Array structure that allows addition/deletion at both ends.
Intended to be used as a FIFO-queue or as a stack by combining pushFront/pushBack and popFront/popBack appropriately. Implemented as a circular buffer inside a continuous block of memory that is automatically expanded as necessary, similar to jive.Array.