Java: turning a while loop of tokens into a for loop?

Printable View