Package org.dlese.dpc.schemedit
Class SortRecsByLastMod
java.lang.Object
org.dlese.dpc.schemedit.SortRecsByLastMod
- All Implemented Interfaces:
Comparator
Comparator for sorting
Record instances in the StandAlone configuration metadata editor.- Author:
- Jonathan Ostwald
-
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
-
SortRecsByLastMod
public SortRecsByLastMod()
-
-
Method Details
-
compare
Compare InputField objects by their XPath fields (in reverse of "natural order")- Specified by:
comparein interfaceComparator- Parameters:
o1- InputField 1o2- InputField 2- Returns:
- comparison by reverse of "natural order"
-