WIDAR Classes

ca.nrc.widar.mccc.crmGui
Class CrmGuiTableModel.DateCustomComparator

java.lang.Object
  extended by ca.nrc.widar.mccc.crmGui.CrmGuiTableModel.DateCustomComparator
All Implemented Interfaces:
java.util.Comparator<ca.nrc.widar.jaxb.crm.Diagnostic>
Enclosing class:
CrmGuiTableModel

public class CrmGuiTableModel.DateCustomComparator
extends java.lang.Object
implements java.util.Comparator<ca.nrc.widar.jaxb.crm.Diagnostic>

A custom comparator that compares two submitTime dates

 

Constructor Summary
CrmGuiTableModel.DateCustomComparator(int dir)
           
 
Method Summary
 int compare(ca.nrc.widar.jaxb.crm.Diagnostic d1, ca.nrc.widar.jaxb.crm.Diagnostic d2)
           
 
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

CrmGuiTableModel.DateCustomComparator

public CrmGuiTableModel.DateCustomComparator(int dir)
Method Detail

compare

public int compare(ca.nrc.widar.jaxb.crm.Diagnostic d1,
                   ca.nrc.widar.jaxb.crm.Diagnostic d2)
Specified by:
compare in interface java.util.Comparator<ca.nrc.widar.jaxb.crm.Diagnostic>

NRAO/DRAO

National Radio Astronomy Observatory