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

    IntersectionType intersects(C from, C to) {
        return intersects(new RangeBoundary<C>(from), new RangeBoundary<C>(to));
    }

    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);

}