Does Java have an equivalent to Python\'s range(int, int) method?
range(int, int)
Groovy's nifty Range class can be used from Java, though it's certainly not as groovy.