tototoshi/scala-csv

Can't open another iterator from the same CSV reader

nkokhelox opened this issue · 0 comments

val csvReader = CSVReader.open(csvFile)
val iter = csvReader.iterator
println(iter.hasNext) // true
while (iter.hasNext) {
println(iter.next)
}

val iter2 = csvReader.iterator
println(iter.hasNext) // false - i'd expect this to give me true since it should be returning a new iterator pointing to the head of the reader.