org.onebusaway.transit_data_federation.impl.beans
Class RouteBeanIdComparator

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.beans.RouteBeanIdComparator
All Implemented Interfaces:
Comparator<RouteBean>

public class RouteBeanIdComparator
extends Object
implements Comparator<RouteBean>

Comparator to sort RouteBean beans by their id

Author:
bdferris
See Also:
RouteBean

Constructor Summary
RouteBeanIdComparator()
           
 
Method Summary
 int compare(RouteBean o1, RouteBean 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

RouteBeanIdComparator

public RouteBeanIdComparator()
Method Detail

compare

public int compare(RouteBean o1,
                   RouteBean o2)
Specified by:
compare in interface Comparator<RouteBean>


Copyright © 2011 OneBusAway. All Rights Reserved.