View Single Post
09-22-2012, 07:17 AM
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Thanked 2,599 Times in 2,568 Posts
That will do it. Since buffers don't have hasNext or similar token checks, you simply pull the assignment during the check. Like you said with pulling a readLine twice, it effectively skips every other line (which you can see here).
View Public Profile
Find More Posts by Fou-Lu