Class CelestialBodyComparator

java.lang.Object
gaiasky.util.comp.CelestialBodyComparator
All Implemented Interfaces:
java.util.Comparator<IFocus>

public class CelestialBodyComparator
extends java.lang.Object
implements java.util.Comparator<IFocus>
  • Constructor Summary

    Constructors
    Constructor Description
    CelestialBodyComparator()  
  • Method Summary

    Modifier and Type Method Description
    int compare​(IFocus a, IFocus b)  

    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

    • CelestialBodyComparator

      public CelestialBodyComparator()
  • Method Details

    • compare

      public int compare​(IFocus a, IFocus b)
      Specified by:
      compare in interface java.util.Comparator<IFocus>