class Range {

    public boolean contains(Range other)
    {
        checkTypeCompatibility(other);
        return this.getLow().compareTo(other.getLow()) <= 0 &&
                this.getHigh().compareTo(other.getHigh()) >= 0;
    }

    @JsonCreator public  Range(
            @JsonProperty("low") Marker low,
            @JsonProperty("high") Marker high);

}