Interface ConsecutiveInfo<Value_,Difference_ extends Comparable<Difference_>>
-
- Type Parameters:
Value_- The type of value in the sequenceDifference_- The type of difference between values in the sequence
- All Known Implementing Classes:
ConsecutiveSetTree
public interface ConsecutiveInfo<Value_,Difference_ extends Comparable<Difference_>>Contains info regarding the consecutive sequences and breaks in a collection of points.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<Break<Value_,Difference_>>getBreaks()Iterable<Sequence<Value_,Difference_>>getConsecutiveSequences()
-
-
-
Method Detail
-
getConsecutiveSequences
Iterable<Sequence<Value_,Difference_>> getConsecutiveSequences()
- Returns:
- never null, an iterable that iterates through the sequences contained in the collection in ascending order
-
getBreaks
Iterable<Break<Value_,Difference_>> getBreaks()
- Returns:
- never null, an iterable that iterates through the breaks contained in the collection in ascending order
-
-