Package gaiasky.util.comp
Class ViewAngleComparator<T>
java.lang.Object
gaiasky.util.comp.ViewAngleComparator<T>
- All Implemented Interfaces:
java.util.Comparator<T>
public class ViewAngleComparator<T>
extends java.lang.Object
implements java.util.Comparator<T>
Compares entities. Further entities go first, nearer entities go last.
-
Constructor Summary
Constructors Constructor Description ViewAngleComparator()
-
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 interfacejava.util.Comparator<T>
-