Moved IntRange.count to Ranges class.

This commit is contained in:
Evgeny Gerashchenko
2013-01-22 20:39:36 +04:00
parent af0997a147
commit eb8107115d
4 changed files with 10 additions and 5 deletions
@@ -97,6 +97,11 @@ public class GenerateRanges {
}
}
out.println(" public static IntRange arrayIndices(int length) {");
out.println(" return new IntRange(0, length);");
out.println(" }");
out.println();
out.println(" private Ranges() {}");
out.println("}");
}