Interface LinkedListIterator<E>
-
- All Superinterfaces:
AutoCloseable,Iterator<E>
public interface LinkedListIterator<E> extends Iterator<E>, AutoCloseable
A LinkedListIterator This iterator allows the last element to be repeated in the next call to hasNext or next
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()voidrepeat()-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
-
-
Method Detail
-
repeat
void repeat()
-
close
void close()
- Specified by:
closein interfaceAutoCloseable
-
-