Package org.arakhne.afc.math.geometry.d3
Class Tuple3fComparator
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d3.Tuple3fComparator
-
- All Implemented Interfaces:
Comparator<Tuple3D<?>>
public class Tuple3fComparator extends Object implements Comparator<Tuple3D<?>>
Comparator of Tuple3D on their floating-point coordinates.For comparisons on the integer coordinates, see
Tuple3iComparator
.- Version:
- 17.0 2020-01-04 14:41:43
- Author:
- Thomas PIOTROWSKI, Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathgeom
-
-
Constructor Summary
Constructors Constructor Description Tuple3fComparator()
Construct a comparator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Tuple3D<?> tuple1, Tuple3D<?> tuple2)
-
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
-
-
-
-
Method Detail
-
compare
public int compare(Tuple3D<?> tuple1, Tuple3D<?> tuple2)
- Specified by:
compare
in interfaceComparator<Tuple3D<?>>
-
-