class SubRange implements Serializable, Comparable<SubRange> {

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    } else if (!(o instanceof SubRange)) {
      return false;
    }
    SubRange other = (SubRange) o;
    return _start == other._start && _end == other._end;
  }

  public  SubRange(int start, int end);
  @JsonCreator public  SubRange(@Nullable Object o);

}