edu.mit.ll.group43.surfaceoptimization.aircraft
Class AircraftSpotReleaseComparator

java.lang.Object
  extended by edu.mit.ll.group43.surfaceoptimization.aircraft.AircraftSpotReleaseComparator
All Implemented Interfaces:
java.util.Comparator<Aircraft>

public class AircraftSpotReleaseComparator
extends java.lang.Object
implements java.util.Comparator<Aircraft>

Comparator for Aircraft based on the time they are released from the spot.

Author:
William Hawkins

Method Summary
 int compare(Aircraft a, Aircraft b)
           
static AircraftSpotReleaseComparator getInstance()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Method Detail

getInstance

public static AircraftSpotReleaseComparator getInstance()

compare

public int compare(Aircraft a,
                   Aircraft b)
Specified by:
compare in interface java.util.Comparator<Aircraft>