faa.tg.util.gui.swing
Class AcInfoComparator

java.lang.Object
  extended by faa.tg.util.gui.swing.AcInfoComparator
All Implemented Interfaces:
java.util.Comparator

public class AcInfoComparator
extends java.lang.Object
implements java.util.Comparator

  This class defines AcInfoComparator used to compare and order AircraftInfo
  

Version:
$Id: AcInfoComparator.java,v 3.1 2006/03/14 16:00:09 samf Exp $
Author:
Sam Fullerton, ACT-510 See the source: AcInfoComparator.java

Field Summary
static java.lang.String CVS_VERSION_ID
          CVS Version
 
Constructor Summary
AcInfoComparator()
          Default Constructor
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Required in order to implement the comparator class Compares its two arguments for order.
 boolean equals(java.lang.Object obj)
          Required in order to implement the comparator class Indicates whether some other object is equal to this Comparator
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
CVS Version

See Also:
Constant Field Values
Constructor Detail

AcInfoComparator

public AcInfoComparator()
Default Constructor

Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Required in order to implement the comparator class Compares its two arguments for order.

Specified by:
compare in interface java.util.Comparator

equals

public boolean equals(java.lang.Object obj)
Required in order to implement the comparator class Indicates whether some other object is equal to this Comparator

Specified by:
equals in interface java.util.Comparator
Overrides:
equals in class java.lang.Object