Tools.h++ Class Reference

Table Of Contents
virtual RWspace
binaryStoreSize() const;
Inherited from class RWCollection.
virtual void
clear();
Redefined from class RWCollection.
virtual void
clearAndDestroy();
Inherited from class RWCollection.
virtual int
compareTo(const RWCollectable* a) const;
Inherited from class RWCollectable.
virtual RWBoolean
contains(const RWCollectable* target) const;
Inherited from class RWCollection.
virtual size_t
entries() const;
Redefined from class RWCollection.
virtual RWCollectable*
find(const RWCollectable* target) const;
Redefined from class RWCollection. Returns the first item that compares equal to the
item pointed to by target, or nil if no item was found.
virtual unsigned
hash() const;
Inherited from class RWCollectable.
unsigned
height() const;
Returns the number of nodes between the root node and the farthest leaf. A
RWBinaryTree with one entry will have a height of 1. Note that the entire tree is
traversed to discover this value.
virtual RWCollectable*
insert(RWCollectable* c);
Redefined from class RWCollection. Inserts the item c into the collection and returns it.
Returns nil if the insertion was unsuccessful. The item c is inserted according to the value
returned by compareTo(). insert() does not automatically balance the RWBinaryTree. Be