public final class WeightedVectorComparator extends Object implements Comparator<WeightedVector>, Serializable
WeightedVector
by WeightedVector.getWeight()
.Constructor and Description |
---|
WeightedVectorComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(WeightedVector a,
WeightedVector b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(WeightedVector a, WeightedVector b)
compare
in interface Comparator<WeightedVector>
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.