Class MultiFinderPatternFinder.ModuleSizeComparator
- java.lang.Object
-
- com.google.zxing.multi.qrcode.detector.MultiFinderPatternFinder.ModuleSizeComparator
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.Comparator<FinderPattern>
- Enclosing class:
- MultiFinderPatternFinder
private static final class MultiFinderPatternFinder.ModuleSizeComparator extends java.lang.Object implements java.util.Comparator<FinderPattern>, java.io.Serializable
A comparator that orders FinderPatterns by their estimated module size.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ModuleSizeComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(FinderPattern center1, FinderPattern center2)
-
-
-
Method Detail
-
compare
public int compare(FinderPattern center1, FinderPattern center2)
- Specified by:
compare
in interfacejava.util.Comparator<FinderPattern>
-
-