Package org.anchoranalysis.spatial.point
Class Comparator3d<T extends Tuple3d>
Object
Comparator3d<T>
- Type Parameters:
T
- type to compare.
- All Implemented Interfaces:
Comparator<T>
Imposes an ordering on any sub-type of
Tuple3d
.
The ordering compares the X, Y and Z component values in that order.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
Comparator3d
public Comparator3d()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T extends Tuple3d>
-