public class StudentByRequestDate extends StudentChoiceOrder
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 |
|---|
StudentByRequestDate(DataProperties config) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Student s1,
Student s2) |
Long |
getRequestDate(Student s) |
avgNrChoices, 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 StudentByRequestDate(DataProperties config)
public Long getRequestDate(Student s)
public int compare(Student s1, Student s2)
compare in interface Comparator<Student>compare in class StudentChoiceOrder