Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open another iterator from the same CSV reader #117

Open
nkokhelox opened this issue Dec 12, 2017 · 0 comments
Open

Can't open another iterator from the same CSV reader #117

nkokhelox opened this issue Dec 12, 2017 · 0 comments

Comments

@nkokhelox
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant