|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Evacuee in evacuation |
|---|
| Methods in evacuation that return Evacuee | |
|---|---|
Evacuee |
EvacueeQueue.getNextEvacuee()
Returns the person in the waiting list with highest priority to get off the ship, and removes them from the list. |
| Methods in evacuation with parameters of type Evacuee | |
|---|---|
void |
EvacueeQueue.add(Evacuee e)
Adds a person to the waiting list to get off the ship. |
int |
Evacuee.compareTo(Evacuee rhs)
Compares two Evacuees based on priority as described in Assignment2.doc |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||