Class StopGraphComparator
- java.lang.Object
-
- org.onebusaway.transit_data_federation.impl.StopGraphComparator
-
- All Implemented Interfaces:
Comparator<StopEntry>
public class StopGraphComparator extends Object implements Comparator<StopEntry>
-
-
Constructor Summary
Constructors Constructor Description StopGraphComparator(DirectedGraph<StopEntry> graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(StopEntry o1, StopEntry 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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
StopGraphComparator
public StopGraphComparator(DirectedGraph<StopEntry> graph)
-
-
Method Detail
-
compare
public int compare(StopEntry o1, StopEntry o2)
- Specified by:
compare
in interfaceComparator<StopEntry>
-
-