Module org.jgrapht.core
Package org.jgrapht.alg.shortestpath
Class MartinShortestPath.LabelComparator
- java.lang.Object
-
- org.jgrapht.alg.shortestpath.MartinShortestPath.LabelComparator
-
- All Implemented Interfaces:
java.util.Comparator<MartinShortestPath.Label>
- Enclosing class:
- MartinShortestPath<V,E>
private class MartinShortestPath.LabelComparator extends java.lang.Object implements java.util.Comparator<MartinShortestPath.Label>
Lexicographic comparator of two node labels.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
LabelComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(MartinShortestPath.Label o1, MartinShortestPath.Label o2)
-
-
-
Method Detail
-
compare
public int compare(MartinShortestPath.Label o1, MartinShortestPath.Label o2)
- Specified by:
compare
in interfacejava.util.Comparator<MartinShortestPath.Label>
-
-