Changing notation to (hopefully) be more clear on ranges.

This commit is contained in:
Rob Greene 2018-06-04 22:19:03 -05:00
parent 0f6fceaa55
commit c1349bade8
1 changed files with 1 additions and 1 deletions

View File

@ -61,6 +61,6 @@ public class IntRange {
}
@Override
public String toString() {
return String.format("[%d..%d)", low, high);
return String.format("%d..%d", low, high-1);
}
}