-
Method Summary
Gets last cached line (the current one).
boolean
Checks if batch has next line.
-
Method Details
-
hasNext
boolean hasNext()
Checks if batch has next line.
- Specified by:
hasNext
in interface Iterator<String>
- Returns:
- 'TRUE' if has next line; 'FALSE' otherwise.
-
-
nextLine
Gets next line.
- Returns:
- next line.
-
getCurrent
Gets last cached line (the current one).
- Returns:
- last cached line; null if
next()
method never called