Class PhiComparator
java.lang.Object
org.noise_planet.noisemodelling.emission.directivity.PhiComparator
- All Implemented Interfaces:
Serializable,Comparator<DirectivityRecord>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCompare two directivity recordMethods 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
-
PhiComparator
public PhiComparator()
-
-
Method Details
-
compare
Compare two directivity record- Specified by:
comparein interfaceComparator<DirectivityRecord>- Parameters:
o1- the first object to be compared.o2- the second object to be compared.- Returns:
- 1 or 0 or -1
-