Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 595 Bytes

README.md

File metadata and controls

3 lines (2 loc) · 595 Bytes

The project is just a small implementation of a Java iterator that iterates over the lines of contained in a text file. The BufferedReader class can be used to easily retrieve the lines in a file using the readLine method, however it doesn't return any information about the number of line-delimiters that have been skipped when reading a line.

The iterator returns a Line object, that contains the content of the read line along with the total amount of characters read. Like the BufferedReader class, it does this using a buffered approach to limit the amount of reads from the disk.