code: @Override
  	public int compareTo(Object arg0) {
  		Interval that = (Interval)arg0;
  		return this.bounds.compareTo(that.getBounds());
  	}
docs: Compares this to another Interval
  @return {@code 1} if this Interval's lower bound is lower than the argument's, {@code 0} if they are the same, {@code 1} otherwise