class ContinuousSpaceSegment implements Comparable<ContinuousSpaceSegment<C, V>> {

    public boolean contains(RangeBoundary<C> point) {
        return segmentStart.compareTo(point) < 0 && segmentEnd.compareTo(point) > 0;
    }

    public  ContinuousSpaceSegment(C from, C to, V value);
    public  ContinuousSpaceSegment(RangeBoundary<C> from, RangeBoundary<C> to, V value);
    public  ContinuousSpaceSegment(ContinuousSpaceSegment<C, V> other, V value);

}