public interface Iterator4D<E>
|Modifier and Type||Method and Description|
Tests whether there are elements remaining in the collection.
Obtain the next element in the collection.
Remove from the underlying collection the last element returned by next (optional operation).
next()will not throw an exception.
java.util.NoSuchElementException- if there are no more elements
next(). It does not affect what will be returned by subsequent calls to next.
java.lang.IllegalStateException- if next has not yet been called or remove has already been called since the last call to next.
java.lang.UnsupportedOperationException- if this Iterator does not support the remove operation.