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
-
Method Summary
Methods inherited from class java.lang.Object
equals, 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
-
ComplexComparator
public ComplexComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Complex>
-