public class StudentMajorOrder extends Object implements StudentOrder, Comparator<Student>
| Constructor and Description |
|---|
StudentMajorOrder(DataProperties config) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Student s1,
Student s2) |
int |
compareMajors(AcademicAreaCode m1,
AcademicAreaCode m2) |
int |
compareMajors(List<AcademicAreaCode> m1,
List<AcademicAreaCode> m2) |
List<Student> |
order(List<Student> students)
Order the given list of students
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic StudentMajorOrder(DataProperties config)
public List<Student> order(List<Student> students)
order in interface StudentOrderstudents - input list of studentspublic int compare(Student s1, Student s2)
compare in interface Comparator<Student>public int compareMajors(List<AcademicAreaCode> m1, List<AcademicAreaCode> m2)
public int compareMajors(AcademicAreaCode m1, AcademicAreaCode m2)
Copyright © 2017 UniTime LLC. All Rights Reserved.