Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class BinarySearchTree<T extends Comparable<T>> implements Iterable<Node<T>> {
- public boolean add(T value) {
- }
- public Node<T> find(T value) {
- }
- public boolean remove(T value) {
- }
- public int getSize() {
- }
- public Node<T> getRoot() {
- }
- @Override
- public Iterator<Node<T>> iterator() {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement