Class DisplayResolutionComparator
java.lang.Object
de.hybris.platform.b2ctelcoservices.search.comparators.DisplayResolutionComparator
- All Implemented Interfaces:
Comparator<String>
Comparator for screen resolutions with format: "height x width" Compares ascending by height; if heigths are equal, compares by width. e.g 176 x 540 240 x 320 240 x 400
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
DisplayResolutionComparator
public DisplayResolutionComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<String>
-