Skip to content
Snippets Groups Projects
Commit 1488e09e authored by Winston Jodjana's avatar Winston Jodjana
Browse files

Update BinarySearchTree.java to include spec that they must use this.root

parent a1f4ceb3
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@ import java.util.Iterator;
public class BinarySearchTree<K extends Comparable<? super K>, V>
extends ComparableDictionary<K, V> {
// The root of the BST. Root is null if and only if the tree is empty.
// This MUST be used as your root for any class that extends this
protected BSTNode root;
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment