Kata Range with Java