Inherits from
DVector
Bucket array container. Deques are optimized for many types of access,
but are more expensive to maintain.
constructor create;
constructor createSize(size : Integer);
constructor createWith(compare : DComparator);
function at(pos : Integer) : DObject;
function backRef : PDObject;
function capacity : Integer;
procedure copy(another : DDeque);
procedure copyTo(another : DDeque);
destructor destroy;
procedure ensureCapacity(amount : Integer);
function finish : DIterator;
function frontRef : PDObject;
procedure insertRangeAt(index : Integer; _start, _finish : DIterator);
procedure insertRangeAtIter(iterator : DIterator; _start, _finish : DIterator);
function maxSize : Integer;
function popBack : DObject;
function popFront : DObject;
procedure removeBetween(_begin, _end : Integer);
procedure setCapacity(amount : Integer);
function size : Integer;
function start : DIterator;
procedure trimToSize;
procedure _add(const obj : DObject);
procedure _insertAt(index : Integer; const obj : DObject);
procedure _insertAtIter(iterator : DIterator; const obj : DObject);
procedure _insertMultipleAt(index : Integer; count : Integer; const obj : DObject);
procedure _insertMultipleAtIter(iterator : DIterator; count : Integer; const obj : DObject);
procedure _pushBack(const obj : DObject);
procedure _pushFront(const obj : DObject);
procedure _putAt(index : Integer; const obj : DObject);
procedure _removeWithin(_begin, _end : Integer; const obj : DObject);
constructor create;
constructor createSize(size : Integer);
constructor createWith(compare : DComparator);
function at(pos : Integer) : DObject;
function backRef : PDObject;
function capacity : Integer;
procedure copy(another : DDeque);
procedure copyTo(another : DDeque);
destructor destroy;
procedure ensureCapacity(amount : Integer);
function finish : DIterator;
function frontRef : PDObject;
procedure insertRangeAt(index : Integer; _start, _finish : DIterator);
procedure insertRangeAtIter(iterator : DIterator; _start, _finish : DIterator);
function maxSize : Integer;
function popBack : DObject;
function popFront : DObject;
procedure removeBetween(_begin, _end : Integer);
procedure setCapacity(amount : Integer);
function size : Integer;
function start : DIterator;
procedure trimToSize;
procedure _add(const obj : DObject);
procedure _insertAt(index : Integer; const obj : DObject);
procedure _insertAtIter(iterator : DIterator; const obj : DObject);
procedure _insertMultipleAt(index : Integer; count : Integer; const obj : DObject);
procedure _insertMultipleAtIter(iterator : DIterator; count : Integer; const obj : DObject);
procedure _pushBack(const obj : DObject);
procedure _pushFront(const obj : DObject);
procedure _putAt(index : Integer; const obj : DObject);
procedure _removeWithin(_begin, _end : Integer; const obj : DObject);