BagTree - Methods

In addition to the Bag Methods, the following methods are defined for the BagTree class.

containsKey This method determines if a key resides in the tree.
getKey This method finds the key range of a key.
getKey - index This method locates a specific key within a key range.
keyComparer This method gets the tree key comparator.
readObject This method reads a tree from a stream.
removeKey This method removes a key range.
removeKey - index This method removes a specific key.
removeKey - predicate This method removes elements within a key range.
selectKey This method searches a key range for all elements that satisfy a predicate.
sizeKey This method returns the number of entries in a key range.
writeObject This method writes a tree to a stream.