Interface ClosableIteratorBuilder
public interface ClosableIteratorBuilder
Builder for an iterator for the custom parser that can be closed after processing.
- Since:
- 2.0.0
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionwithHasNext
(ThrowingSupplier<Boolean, IOException> hasNext) Configures the custom parser to check if the iterator has next line.
-
Method Details
-
withHasNext
Configures the custom parser to check if the iterator has next line.- Parameters:
hasNext
- supplier for flag for the presence of the next line- Returns:
- Closable iterator builder
-