class SubRange implements Serializable, Comparable<SubRange> {

  public boolean contains(@Nonnull SubRange other) {
    return other.isEmpty() || (_start <= other.getStart() && _end >= other.getEnd());
  }

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

}