Iterator.hasNext

Returns {@code true} if the iteration has more elements. (In other words, returns {@code true} if {@link #next} would return an element rather than throwing an exception.)

@return {@code true} if the iteration has more elements

interface Iterator(E)
bool
hasNext
()

Meta