diff --git a/src/cse332/datastructures/trees/BinarySearchTree.java b/src/cse332/datastructures/trees/BinarySearchTree.java index aaf33429f76b49854084f93b21fba15c07d58815..f848e18a504129ad66ab2a45e0572e48a2eaba3b 100644 --- a/src/cse332/datastructures/trees/BinarySearchTree.java +++ b/src/cse332/datastructures/trees/BinarySearchTree.java @@ -10,9 +10,8 @@ import cse332.interfaces.worklists.WorkList; import datastructures.worklists.ArrayStack; /** - * BinarySearchTree implements the DataCounter interface using a binary search - * tree. The constructor takes a Comparator<? super E> "function object" so that - * items of type E can be compared. Each tree node associates a count with an E. + * BinarySearchTree implements the ComparableDictionary interface using a binary + * search tree. Notice that the key type must be Comparable. */ public class BinarySearchTree<K extends Comparable<K>, V> extends ComparableDictionary<K, V> {