How to apply the Comparator Interface Comparator c = new SomeComparator(); … BinSearchTree T = new BinSearchTree(c); … Using a comparator to implement an ordering class, like a BST, expands reusability (genericity) of the ordering class.
{}