Link Details

Link 97342 thumbnail
User 111696 avatar

By bloid
via happygiraffe.net
Published: Jul 23 2008 / 09:09

A few days ago, I was writing a piece of code that turned a line at a time into an Object. And it was using iterators. I had a RecordStream, which wrapped a LineStream (just a thin veneer over LineNumberReader). Then I discovered that there was a terminating record at the end of each file. And it was in a completely different format to all the other lines. Bother.
  • 18
  • 0
  • 894
  • 472

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.