Package fftManager
Class ComplexComparator
java.lang.Object
fftManager.ComplexComparator
- All Implemented Interfaces:
Comparator<Complex>
Comparator to compare complex numbers first by real part, then by imaginary part.
- Author:
- dg50
-
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
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Complex>
-