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 TypeMethodDescriptionintcompare(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, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
LabelComparator
private LabelComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<MartinShortestPath<V,E>.Label>
-