org.cip4.jdflib.jmf
Class JDFQueueEntry.QueueEntryComparator

java.lang.Object
  extended by org.cip4.jdflib.jmf.JDFQueueEntry.QueueEntryComparator
All Implemented Interfaces:
Comparator<KElement>
Enclosing class:
JDFQueueEntry

public static class JDFQueueEntry.QueueEntryComparator
extends Object
implements Comparator<KElement>

Author:
Dr. Rainer Prosi, Heidelberger Druckmaschinen AG Apr 29, 2009

Constructor Summary
JDFQueueEntry.QueueEntryComparator()
          getEnum is too slow for heavily repetitive calls
 
Method Summary
 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
 

Constructor Detail

JDFQueueEntry.QueueEntryComparator

public JDFQueueEntry.QueueEntryComparator()
getEnum is too slow for heavily repetitive calls

Method Detail

compare

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


Copyright © 2013. All Rights Reserved.