Package org.jppf.server.queue
Class JobPriorityComparator
java.lang.Object
org.jppf.server.queue.JobPriorityComparator
- All Implemented Interfaces:
Comparator<ServerJob>
A Comparator which compare CLientJob objects in descending order of their priority.
- Author:
- Laurent Cohen, Martin JANDA
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
JobPriorityComparator
public JobPriorityComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<ServerJob>
-