cz.cuni.mff.ksi.jinfer.iss.utils
Class ImageSizeComparator
java.lang.Object
cz.cuni.mff.ksi.jinfer.iss.utils.ImageSizeComparator
- All Implemented Interfaces:
- Comparator<AttributeMappingId>
public class ImageSizeComparator
- extends Object
- implements Comparator<AttributeMappingId>
Comparator of attribute mappings based on the size of their images in the
provided model.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageSizeComparator
public ImageSizeComparator(AMModel model)
- Constructor.
- Parameters:
Model
- in context of which the AMs should be compared.
compare
public int compare(AttributeMappingId o1,
AttributeMappingId o2)
- Specified by:
compare
in interface Comparator<AttributeMappingId>
Generated on Fri Dec 9 00:01:25 CET 2011