class SortedRangeSet implements ValueSet {

    @Override
    public Object getSingleValue()
    {
        if (!isSingleValue()) {
            throw new IllegalStateException("SortedRangeSet does not have just a single value");
        }
        return lowIndexedRanges.values().iterator().next().getSingleValue();
    }

    private  SortedRangeSet(Type type, NavigableMap<Marker, Range> lowIndexedRanges);

}