@@ -0,0 +1,625 @@
+package jetbrains.jetpad.base;%0A%0Apublic class Interval %7B%0A  private int myLowerBound;%0A  private int myUpperBound;%0A%0A  public Interval(int lowerBound, int upperBound) %7B%0A    if (lowerBound %3E upperBound) throw new IllegalArgumentException(%22Lower bound is greater than upper: lower bound=%22 + lowerBound + %22, upper bound=%22 + upperBound);%0A    myLowerBound = lowerBound;%0A    myUpperBound = upperBound;%0A  %7D%0A%0A  public int getLowerBound() %7B%0A    return myLowerBound;%0A  %7D%0A%0A  public int getUpperBound() %7B%0A    return myUpperBound;%0A  %7D%0A%0A  @Override%0A  public String toString() %7B%0A    return %22%5B%22 + myLowerBound + %22, %22 + myUpperBound + %22%5D%22;%0A  %7D%0A%7D%0A

Use custom int pair instead of guava range in persistence