Package gaiasky.util.comp
Class ViewAngleComparator<T>
java.lang.Object
gaiasky.util.comp.ViewAngleComparator<T>
- All Implemented Interfaces:
Comparator<T>
Compares entities depending on the solid angle from the camera.
-
Constructor Summary
-
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
-
ViewAngleComparator
public ViewAngleComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T>
-