next abstract method

T next()

Returns the next element in the iteration.

@return the next element in the iteration @throws NoSuchElementException if the iteration has no more elements

Implementation

T next();