Class JDFQueueEntry.QueueEntryComparator

  • All Implemented Interfaces:
    java.util.Comparator<KElement>
    Enclosing class:
    JDFQueueEntry

    public static class JDFQueueEntry.QueueEntryComparator
    extends java.lang.Object
    implements java.util.Comparator<KElement>
    • Constructor Summary

      Constructors 
      Constructor Description
      QueueEntryComparator()
      getEnum is too slow for heavily repetitive calls
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(KElement o1, KElement o2)  
      • 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 Detail

      • QueueEntryComparator

        public QueueEntryComparator()
        getEnum is too slow for heavily repetitive calls
    • Method Detail

      • compare

        public int compare​(KElement o1,
                           KElement o2)
        Specified by:
        compare in interface java.util.Comparator<KElement>
        Parameters:
        o1 -
        o2 -
        Returns:
        See Also:
        Comparator.compare(java.lang.Object, java.lang.Object)