public static class Subspace.DimensionComparator extends Object implements Comparator<Subspace>
Constructor and Description |
---|
DimensionComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Subspace s1,
Subspace s2)
Compares the two specified subspaces for order.
|
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(Subspace s1, Subspace s2)
d1
and d2
be the first
occurrences of pairwise unequal dimensions in the specified subspaces.
Then a negative integer or a positive integer will be returned if
d1
is less than or greater than d2
. Otherwise the two
subspaces have equal dimensions and zero will be returned.
compare
in interface Comparator<Subspace>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.