Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
I
N
R
S
T
A
addSubject(Student)
- Method in class
Session
Add a test subject.
C
createSessions()
- Method in class
Schedule
Generate all of the sessions necessary for the set of students in this schedule.
D
DEFAULT_DURATION
- Static variable in class
Session
The default duration of a session, in minutes.
displaySessions(ArrayList<Session>)
- Method in class
Schedule
Display a set of sessions.
E
equals(Room)
- Method in class
Room
Determine if two rooms have the same information; that is, the strings for building are equivalent and the strings for room number are equivalent.
equals(Student)
- Method in class
Student
Determines if two Student objects are equivalent, that is, they have the same student name and ID values.
equals(Time)
- Method in class
Time
Determine if two Time objects are equal.
G
getBuilding()
- Method in class
Room
Return the building.
getDuration()
- Method in class
Session
Return the duration of this session.
getHours()
- Method in class
Time
Retrieve the hours.
getID()
- Method in class
Student
Retrieves the ID of the student
getMinutes()
- Method in class
Time
Retrieve the minutes.
getName()
- Method in class
Student
Retrieves the name of the student
getNumberOfSubjects()
- Method in class
Session
Return the number of test subjects currently assigned to this session.
getRoom()
- Method in class
Session
Return the room of this session.
getRoomNumber()
- Method in class
Room
Return the room number.
getStartTime()
- Method in class
Session
Return the start time of this session.
getSubject(int)
- Method in class
Session
Return a specific test subject.
getSubjects()
- Method in class
Session
Return the test subjects in this session.
I
increment(Time)
- Method in class
Time
Create a new Time object whose value is the current object's time incremented by the parameter.
N
numPeriods(int)
- Method in class
Schedule
Determine the number of periods necessary to have a given number of trained experimenters.
numSessions(int)
- Method in class
Schedule
Calculate the number of sessions needed for a given number of students.
numTrainers(int)
- Method in class
Schedule
Calculate the number of trained experimenters available after a given amount of training periods.
R
Room
- Class in
<Unnamed>
A room is a location at which a session may be scheduled.
Room(String, String)
- Constructor for class
Room
Construct a Room object.
S
Schedule
- Class in
<Unnamed>
A schedule for the Psychology experiment application.
Schedule()
- Constructor for class
Schedule
Construct a Schedule object.
Session
- Class in
<Unnamed>
A session is defined by the test subjects (students), the room, the start time, and the duration.
Session()
- Constructor for class
Session
Construct Session object with default duration.
Session(Time)
- Constructor for class
Session
Construct Session object with specified duration.
Session(Time, Room, Time)
- Constructor for class
Session
Construct Session object with specified duration, room and start time.
setDuration(Time)
- Method in class
Session
Change the duration of this session.
setRoom(Room)
- Method in class
Session
Change the room of this session.
setStartTime(Time)
- Method in class
Session
Change the start time of this session.
setSubjects(ArrayList<Student>)
- Method in class
Session
Change the test subjects in this session.
Student
- Class in
<Unnamed>
A student who is a test subject for the psychology experiment scheduler.
Student(String, int)
- Constructor for class
Student
Construct object of class Student.
T
Time
- Class in
<Unnamed>
Time represented as attributes hours and minutes.
Time()
- Constructor for class
Time
Constructor for objects of class Time that sets time to zero (0:00).
Time(int)
- Constructor for class
Time
Constructor for objects of class Time that sets time to the number of minutes specified.
Time(int, int)
- Constructor for class
Time
Constructor for objects of class Time that sets time to the number of hours and minutes specified.
A
C
D
E
G
I
N
R
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes