Package com.ardor3d.example
Class PropertiesDialog.DisplayModeSorter
java.lang.Object
com.ardor3d.example.PropertiesDialog.DisplayModeSorter
- All Implemented Interfaces:
Comparator<DisplayMode>
- Enclosing class:
PropertiesDialog
private static class PropertiesDialog.DisplayModeSorter
extends Object
implements Comparator<DisplayMode>
Utility class for sorting
DisplayMode
s. Sorts by resolution, then bit depth, and then finally
refresh rate.-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
DisplayModeSorter
private DisplayModeSorter()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<DisplayMode>
- See Also:
-