Returns an iterator that has no elements. More precisely,
hasNext
always returns
false
.next
always throws NoSuchElementException
.remove
always throws IllegalStateException
.Implementations of this method are permitted, but not required, to return the same object from multiple invocations.
<T> | type of elements, if there were any, in the iterator |
Diagram: Collections