|
|
||||||
|
Binary Recursive Structure package is a State design pattern implementation of a full OO-style recursive, mutable linked binary tree. The BRStruct class is provides the 8 complete (and possibly minimal -- unproven as yet) public methods upon which all algorithms on the list can be built. A ninth, extensibility hook is provided to add external algorithms that implement the IBRSAlgo interface. This interface implements a (slightly modified) Visitor design pattern. Note: At the moment, the BRStructure package is not designed to be thread-safe.
|