All Packages Class Hierarchy This Package Previous Next Index
Interface jdsltools.visualization.BinaryTreeBased
- public interface BinaryTreeBased
Containers that extend BinaryTreeBased interface are based on a
binary tree and use an InspectableBinaryTree internally. This
interface allows the visualizer to get and display the underlying
binary tree of containers like heaps and binary search trees.
- Author:
- Mark Handy
-
getBinaryTree()
-
Returns the binary tree underlying the data structure.
getBinaryTree
public abstract InspectableBinaryTree getBinaryTree()
- Returns the binary tree underlying the data structure. Used by the support
code for visualization purposes.
- Returns:
- The binary tree underlying the data structure
All Packages Class Hierarchy This Package Previous Next Index