Skip to main content
2 of 3
fixed typos
ChrisWue
  • 20.4k
  • 4
  • 42
  • 107
  1. I'm always wary of naming my classes according to performance criteria. What if you (or someone else) finds a faster method of reading tokens from an input stream. Would you then write an EvenFasterReader? How about something like TokenReader?

  2. Consider letting the user pass the delimiters as well (optionally). This will make it more useful by allowing to parse input which is delimited by other things than white spaces.

ChrisWue
  • 20.4k
  • 4
  • 42
  • 107