org.onebusaway.transit_data_federation.services.transit_graph
Class ServiceIdListComparator

java.lang.Object
  extended by org.onebusaway.transit_data_federation.services.transit_graph.ServiceIdListComparator
All Implemented Interfaces:
Comparator<List<org.onebusaway.gtfs.model.calendar.LocalizedServiceId>>

public class ServiceIdListComparator
extends Object
implements Comparator<List<org.onebusaway.gtfs.model.calendar.LocalizedServiceId>>


Constructor Summary
ServiceIdListComparator()
           
 
Method Summary
 int compare(List<org.onebusaway.gtfs.model.calendar.LocalizedServiceId> o1, List<org.onebusaway.gtfs.model.calendar.LocalizedServiceId> o2)
           
 
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

ServiceIdListComparator

public ServiceIdListComparator()
Method Detail

compare

public int compare(List<org.onebusaway.gtfs.model.calendar.LocalizedServiceId> o1,
                   List<org.onebusaway.gtfs.model.calendar.LocalizedServiceId> o2)
Specified by:
compare in interface Comparator<List<org.onebusaway.gtfs.model.calendar.LocalizedServiceId>>


Copyright © 2012 OneBusAway. All Rights Reserved.