In a Java class at what point does a static loop get called? and how often is it referenced? im only familiar with calling a method, and
I have seen it on this truly excellent answer to Euler Q14, been doing a java a year but this the first time ive seen this here:
static {
for (int i = 10; i < cache.length; i *= 2)
collatzNum(i - 1);
}