Interface ConsecutiveInfo<Value_,Difference_ extends Comparable<Difference_>>

Type Parameters:
Value_ - The type of value in the sequence
Difference_ - 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 Details

    • getConsecutiveSequences

      Iterable<Sequence<Value_,Difference_>> getConsecutiveSequences()
      Returns:
      never null, an iterable that iterates through the sequences contained in the collection in ascending order
    • getBreaks

      Returns:
      never null, an iterable that iterates through the breaks contained in the collection in ascending order