Class DRedBlackTree (unit SDL)

Inherits from

SDLBaseClass

Internal class. Do not use.

Constructors


constructor Create(insideOf : DContainer; always : Boolean; compare : DComparator);



Functions

function count(const obj : DObject) : Integer;


destructor Destroy;


function empty : Boolean;


function equal_range(const obj : DObject) : DRange;


procedure erase(direct : Boolean);


procedure eraseAt(pos : DIterator);


function eraseIn(_start, _finish : DIterator) : Integer;


function eraseKey(const obj : DObject) : Integer;


function eraseKeyN(const obj : DObject; count : Integer) : Integer;


function find(const obj : DObject) : DIterator;


function finish : DIterator;


function insert(const pair : DPair) : Boolean;


function insertAt(pos : DIterator; const pair : DPair) : Boolean;


function insertIn(_start, _finish : DIterator) : Boolean;


function lower_bound(const obj : DObject) : DIterator;


function maxSize : Integer;


function size : Integer;


function start : DIterator;


procedure swap(another : DRedBlackTree);


function upper_bound(const obj : DObject) : DIterator;


Properties

Events

Variables


Constructors


constructor Create(insideOf : DContainer; always : Boolean; compare : DComparator);


Functions


function count(const obj : DObject) : Integer;


destructor Destroy;


function empty : Boolean;


function equal_range(const obj : DObject) : DRange;


procedure erase(direct : Boolean);


procedure eraseAt(pos : DIterator);


function eraseIn(_start, _finish : DIterator) : Integer;


function eraseKey(const obj : DObject) : Integer;


function eraseKeyN(const obj : DObject; count : Integer) : Integer;


function find(const obj : DObject) : DIterator;


function finish : DIterator;


function insert(const pair : DPair) : Boolean;


function insertAt(pos : DIterator; const pair : DPair) : Boolean;


function insertIn(_start, _finish : DIterator) : Boolean;


function lower_bound(const obj : DObject) : DIterator;


function maxSize : Integer;


function size : Integer;


function start : DIterator;


procedure swap(another : DRedBlackTree);


function upper_bound(const obj : DObject) : DIterator;


Properties


Events


Variables