Module org.jgrapht.core
Package org.jgrapht.alg.shortestpath
Class MartinShortestPath.LabelComparator
java.lang.Object
org.jgrapht.alg.shortestpath.MartinShortestPath.LabelComparator
- All Implemented Interfaces:
Comparator<MartinShortestPath<V,
E>.Label>
- Enclosing class:
MartinShortestPath<V,
E>
private class MartinShortestPath.LabelComparator
extends Object
implements Comparator<MartinShortestPath<V,E>.Label>
Lexicographic comparator of two node labels.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(MartinShortestPath<V, E>.Label o1, MartinShortestPath<V, E>.Label 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 Details
-
LabelComparator
private LabelComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<MartinShortestPath<V,
E>.Label>
-