Interface ConnectedRangeChain<Range_,Point_ extends Comparable<Point_>,Difference_ extends Comparable<Difference_>>
- Type Parameters:
Range_- The type of range in the collection.Point_- The type of the start and end points for each range.Difference_- The type of difference between start and end points.
- All Known Implementing Classes:
ConnectedRangeChainImpl
public interface ConnectedRangeChain<Range_,Point_ extends Comparable<Point_>,Difference_ extends Comparable<Difference_>>
Contains info regarding
ConnectedRanges and RangeGaps for a collection of ranges.-
Method Summary
Modifier and TypeMethodDescription@NonNull Iterable<ConnectedRange<Range_,Point_, Difference_>> @NonNull Iterable<RangeGap<Point_,Difference_>> getGaps()
-
Method Details
-
getConnectedRanges
@NonNull Iterable<ConnectedRange<Range_,Point_, getConnectedRanges()Difference_>> - Returns:
- an iterable that iterates through the
ConnectedRanges contained in the collection in ascending order of their start points
-
getGaps
@NonNull Iterable<RangeGap<Point_,Difference_>> getGaps()- Returns:
- an iterable that iterates through the
RangeGaps contained in the collection in ascending order of their start points
-