Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1. public class BinarySearchTree<T extends Comparable<T>> implements Iterable<Node<T>> {
  2.  
  3.   public boolean add(T value) {
  4.   }
  5.  
  6.   public Node<T> find(T value) {
  7.   }
  8.  
  9.   public boolean remove(T value) {
  10.   }
  11.  
  12.   public int getSize() {
  13.   }
  14.  
  15.   public Node<T> getRoot() {
  16.   }
  17.  
  18.   @Override
  19.   public Iterator<Node<T>> iterator() {
  20.   }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement