next abstract method

T? next()

Tries to advance to the next item, and returns it if possible.

Implementation

T? next();