parseFinderValue static method
Implementation
static int parseFinderValue(
List<int> counters,
List<List<int>> finderPatterns,
) {
for (int value = 0; value < finderPatterns.length; value++) {
if (OneDReader.patternMatchVariance(
counters,
finderPatterns[value],
_maxIndividualVariance,
) <
_maxAvgVariance) {
return value;
}
}
throw NotFoundException.instance;
}