Adds toString.
@@ -25,6 +25,11 @@ public class IntRange {
clampValuesToRange(begin, end);
}
+ @Override
+ public String toString() {
+ return "IntRange(" + begin + ", " + end + ")";
+ }
+
@Override
public boolean equals(final Object otherObj) {
if (otherObj instanceof IntRange == false) {
