Package net.imglib2
Class KDTree.DimComparator<L extends RealLocalizable>
java.lang.Object
net.imglib2.KDTree.DimComparator<L>
- All Implemented Interfaces:
Comparator<L>
public static final class KDTree.DimComparator<L extends RealLocalizable>
extends Object
implements Comparator<L>
Compare RealLocalizables by comparing their coordinates in dimension d.
-
Constructor Summary
Constructors -
Method Summary
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
-
DimComparator
public DimComparator(int d)
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<L extends RealLocalizable>
-