Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
E
G
T
A
add(Evacuee)
- Method in class evacuation.
EvacueeQueue
Adds a person to the waiting list to get off the ship.
C
compareTo(Evacuee)
- Method in class evacuation.
Evacuee
Compares two Evacuees based on priority as described in Assignment2.doc
E
evacuation
- package evacuation
Evacuee
- Class in
evacuation
Objects of this class represent people fleeing a sinking ship.
Evacuee(String, String, boolean, int, int)
- Constructor for class evacuation.
Evacuee
Constructs a newly allocated Evacuee with the specified information
EvacueeQueue
- Class in
evacuation
This class represents a waiting list for people fleeing a sinking ship.
EvacueeQueue()
- Constructor for class evacuation.
EvacueeQueue
Constructs an empty EvacueeQueue.
G
getNextEvacuee()
- Method in class evacuation.
EvacueeQueue
Returns the person in the waiting list with highest priority to get off the ship, and removes them from the list.
T
toString()
- Method in class evacuation.
Evacuee
Returns a String describing this evacuee in a format similar to the following
Leonardo DiCaprio (Male, age 23, income $70)
The String should not contain any line separators.
A
C
E
G
T
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes