IMHO you could optimize quiet a lot by replacing dictionary.get(x) with dictionary[x] and dictionary.put(x, y) with dictionary[x] = y (both save -9 bytes, -8 after bytecode optimization).
And similarily array.put(x, y) can be replaced with array[x] = y with similar gains.
IMHO you could optimize quiet a lot by replacing dictionary.get(x) with dictionary[x] and dictionary.put(x, y) with dictionary[x] = y (both save -9 bytes, -8 after bytecode optimization). And similarily array.put(x, y) can be replaced with array[x] = y with similar gains.