Skip to content

Instantly share code, notes, and snippets.

@uncoded-ro
Created January 12, 2020 07:01
Show Gist options
  • Save uncoded-ro/7be14e4e8b2d7257b3ec60ada1b43b7e to your computer and use it in GitHub Desktop.
Save uncoded-ro/7be14e4e8b2d7257b3ec60ada1b43b7e to your computer and use it in GitHub Desktop.
public interface ListIterator extends Iterator {
boolean hasNext();
E next();
boolean hasPrevious();
E previous();
int nextIndex();
int previousIndex();
void remove();
void set(E e);
void add(E e);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment