Currently the API for this class is fairly low-level, particularly the use of byte
s as color values. This is an implementation detail, exposed to maximize performance. Wherever necessary, consider creating a facade around this Tree
class that provides methods more appropriate for your particular application.
This is a prototype replacement for the Barcode
class that adds support for up to seven different colors. As well, this supports values in the node. It will hopefully also replace our IndexedTree
class. This class is designed after those two classes and hopefully improves upon them in a few interesting ways:
This class came into being so we could use a tree to replace ListEventBlock
s, which has only mediocre performance, particularly due to having to sort elements. As well, we might be able to keep a moved value in the tree, to support moved elements in ListEvent
s.
@author Jesse Wilson
|
|
|
|