Constructor and Description |
---|
LinkIterator(X item) |
LinkIterator(X from,
X to) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
E |
next() |
void |
remove() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining
public LinkIterator(X item)
public E next() throws NoSuchElementException
next
in interface Iterator<E>
NoSuchElementException
public void remove() throws IllegalStateException
remove
in interface Iterator<E>
IllegalStateException
Copyright © 2020 Sable. All rights reserved.