DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.vocab
Class SortTermAndDeftns

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

public class SortTermAndDeftns
extends Object
implements Comparator

Comparator to sort Records in reverse order of their creation date

Author:
Jonathan Ostwald

Constructor Summary
SortTermAndDeftns()
           
 
Method Summary
 int compare(Object o1, Object o2)
          Provide comparison for sorting Sugest a URL Records by reverse "creation Date"
 
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

SortTermAndDeftns

public SortTermAndDeftns()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Provide comparison for sorting Sugest a URL Records by reverse "creation Date"

Specified by:
compare in interface Comparator
Parameters:
o1 - document 1
o2 - document 2
Returns:
DESCRIPTION

DLESE Tools
v1.6.0