public class StudentByPriorityRequestDate extends StudentByRequestDate
CourseRequest.getTimeStamp(). If the time stamp
is the same (or not set), fall back to the number of choices
(student with fewer choices first).| Constructor and Description |
|---|
StudentByPriorityRequestDate(DataProperties config) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Student s1,
Student s2) |
getRequestDateavgNrChoices, getRequestPriority, isCriticalOnly, isReverse, order, setCriticalOnly, setRequestPriority, setReverseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic StudentByPriorityRequestDate(DataProperties config)
public int compare(Student s1, Student s2)
compare in interface Comparator<Student>compare in class StudentByRequestDate