SHARE
TWEET

Untitled

a guest Dec 11th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.util.Iterator;
  2.  
  3. public class BinarySearchTree<T extends Comparable<T>> implements Iterable<Node<T>> {
  4.  
  5.   public boolean add(T value) {
  6.   }
  7.  
  8.   public Node<T> find(T value) {
  9.   }
  10.  
  11.   public boolean remove(T value) {
  12.   }
  13.  
  14.   int getSize() {
  15.   }
  16.  
  17.   public Node<T> getRoot() {
  18.   }
  19.  
  20.   @Override
  21.   public Iterator<Node<T>> iterator() {
  22.   }
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top