toString added

This commit is contained in:
Egor.Ushakov
2015-06-08 17:17:51 +03:00
parent e47362e3ad
commit 5f15983eb0
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,4 +41,9 @@ public class Range<T extends Comparable<T>> {
public T getTo() {
return myTo;
}
@Override
public String toString() {
return "(" + myFrom + "," + myTo + ")";
}
}