|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectRoom
public class Room
A room is a location at which a session may be scheduled.
| Constructor Summary | |
|---|---|
Room(String theBuilding,
String theRoomNumber)
Construct a Room object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Room other)
Determine if two rooms have the same information; that is, the strings for building are equivalent and the strings for room number are equivalent. |
String |
getBuilding()
Return the building. |
String |
getRoomNumber()
Return the room number. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Room(String theBuilding,
String theRoomNumber)
theBuilding - the buildingtheRoomNumber - the room number| Method Detail |
|---|
public String getBuilding()
public String getRoomNumber()
public boolean equals(Room other)
other - the room to compare with this room
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||