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

Method Index

 o getBinaryTree()
Returns the binary tree underlying the data structure.

Methods

 o 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