compareElementTime method Null safety
Performs compareTime for the elements in the positions elementNrA
and elementNrB
, then returns the result.
Children my override this method to implement more efficient or custom implementations, for example if they support overlapping time or if they have a way to do quick time comparisons without doing full item retrieval.
Implementation
TimeComparisonResult compareElementTime(int elementNrA, int elementNrB) {
return comparePointTimes(this[elementNrA], this[elementNrB]);
}