Modifier and Type | Field and Description |
---|---|
private java.util.List<Student> |
Course.courseRoster |
private PriorityQueue<Student> |
Course.registrationQueue |
private static java.util.List<Student> |
StudentCenter.studentList |
Modifier and Type | Method and Description |
---|---|
java.util.List<Student> |
Course.getCourseRegister() |
Modifier and Type | Method and Description |
---|---|
void |
Course.addStudent(Student student,
int coins)
Creates a new PriorityqueueItem - with appropriate priority(coins) and
this student in the item's queue.
|