public class WeightComparator extends java.lang.Object implements java.util.Comparator<WeightedVertex>
Constructor and Description |
---|
WeightComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(WeightedVertex v1,
WeightedVertex v2) |
public int compare(WeightedVertex v1, WeightedVertex v2)
compare
in interface java.util.Comparator<WeightedVertex>