DLESE Tools
v1.6.0

org.dlese.dpc.schemedit
Class SortRecsByLastMod

java.lang.Object
  extended by org.dlese.dpc.schemedit.SortRecsByLastMod
All Implemented Interfaces:
Comparator

public class SortRecsByLastMod
extends Object
implements Comparator

Comparator for sorting Record instances in the StandAlone configuration metadata editor.

Author:
Jonathan Ostwald

Constructor Summary
SortRecsByLastMod()
           
 
Method Summary
 int compare(Object o1, Object o2)
          Compare InputField objects by their XPath fields (in reverse of "natural order")
 
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
 

Constructor Detail

SortRecsByLastMod

public SortRecsByLastMod()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Compare InputField objects by their XPath fields (in reverse of "natural order")

Specified by:
compare in interface Comparator
Parameters:
o1 - InputField 1
o2 - InputField 2
Returns:
comparison by reverse of "natural order"

DLESE Tools
v1.6.0