public class CSVIterator extends Object implements Iterator<ICommonsList<String>>
| Constructor and Description |
|---|
CSVIterator(CSVReader aReader) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns
true if the iteration has more elements. |
ICommonsList<String> |
next()
Returns the next element in the iterator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic CSVIterator(@Nonnull CSVReader aReader) throws IOException
aReader - reader for the csv data. May not be null.IOException - if unable to read data from the reader.public boolean hasNext()
true if the iteration has more elements. In other
words, returns true if next() would return an element rather
than throwing an exception.hasNext in interface Iterator<ICommonsList<String>>true if this CSVIterator has more elements.@Nonnull public ICommonsList<String> next()
next in interface Iterator<ICommonsList<String>>null.Copyright © 2014–2020 Philip Helger. All rights reserved.