Skip to content
Snippets Groups Projects
Commit 957d41bf authored by Adam Blank's avatar Adam Blank
Browse files

Update BST Class Comment

parent 04fd025f
No related branches found
No related tags found
No related merge requests found
...@@ -10,9 +10,8 @@ import cse332.interfaces.worklists.WorkList; ...@@ -10,9 +10,8 @@ import cse332.interfaces.worklists.WorkList;
import datastructures.worklists.ArrayStack; import datastructures.worklists.ArrayStack;
/** /**
* BinarySearchTree implements the DataCounter interface using a binary search * BinarySearchTree implements the ComparableDictionary interface using a binary
* tree. The constructor takes a Comparator<? super E> "function object" so that * search tree. Notice that the key type must be Comparable.
* items of type E can be compared. Each tree node associates a count with an E.
*/ */
public class BinarySearchTree<K extends Comparable<K>, V> public class BinarySearchTree<K extends Comparable<K>, V>
extends ComparableDictionary<K, V> { extends ComparableDictionary<K, V> {
......
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