Advertisement
Mph0

Untitled

Nov 28th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.35 KB | None | 0 0
  1. package fr.istic.prg1.binarytree;
  2.  
  3. interface Iterator<T>
  4. {
  5.     void goLeft();
  6.  
  7.     void goRight();
  8.  
  9.     void goUp();
  10.  
  11.     void goRoot();
  12.  
  13.     boolean isEmpty();
  14.  
  15.     NodeType nodeType();
  16.  
  17.     void remove();
  18.  
  19.     void clear();
  20.  
  21.     T getValue();
  22.  
  23.     void addValue(T v);
  24.  
  25.     void setValue(T v);
  26.  
  27.     void switchValue(int i);
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement