collections/run_detection_utils library
Run detection (equal or increasing sequences with metadata) — roadmap #472.
Classes
-
RunDetectionUtils<
T extends Object> - One run: start index, length, constant value or null for increasing.
Functions
-
runsEqual<
T extends Object> (List< T> list) → List<RunDetectionUtils< T> > -
Detects runs of equal consecutive values in
list.