As of java 1.7 the java language specification allows integer literals to contain underscores in order to make them more readable. If it is applied in a good way it can enormously increase the readability of your code.
In java 1.6 one had to define integer literals like this:
int iterations = 10000000;
long bytes = 0b11010010011010011001010010010010;
With java 1.7 such integer literals can be […]