You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: