public static class LineIterator.LineIteratorFactory<X> extends Object implements IteratorFromReaderFactory<X>, Serializable
Constructor and Description |
---|
LineIteratorFactory() |
LineIteratorFactory(Function<String,X> op) |
Modifier and Type | Method and Description |
---|---|
Iterator<X> |
getIterator(Reader r)
Return an iterator over the contents read from r.
|
public Iterator<X> getIterator(Reader r)
IteratorFromReaderFactory
getIterator
in interface IteratorFromReaderFactory<X>
r
- Where to read objects from