Package lazyj
Class FileLinesIterator
java.lang.Object
lazyj.FileLinesIterator
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterator<String>
Iterator over the lines in a buffer
- Author:
- costing
-
Constructor Summary
ConstructorsConstructorDescriptionIterate over the lines in this bufferedReader -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
FileLinesIterator
Iterate over the lines in this bufferedReader- Parameters:
br
-
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-