|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StudentEnvironment
StudentEnvironment interface that the debugging code in nextCommand uses to access the current state of the simulated student environment.
Field Summary | |
---|---|
static int |
MAX_LOAD
The maximum number of garments that can be laundered at once. |
Method Summary | |
---|---|
EnumI<Garment> |
cleanPants()
Accessor for the student's pile of clean pants |
EnumI<Garment> |
cleanShirts()
Accessor for the student's pile of clean shirts |
EnumI<Garment> |
cleanSocks()
Accessor for the student's pile of clean socks |
EnumI<Garment> |
dirtyPile()
Accessor for the student's pile of dirty garments |
EnumI<BiListI<Garment>> |
laundryRoom()
Accessor for the student's laundry room (list of list of laundered garments) |
String |
name()
Accessor for the student's name |
Pants |
pants()
Accessor for the Pants the student is currently wearing. |
Shirt |
shirt()
Accessor for the Shirt the student is currently wearing. |
Socks |
socks()
Accessor for the Socks the student is currently wearing. |
Field Detail |
---|
static final int MAX_LOAD
Method Detail |
---|
String name()
Shirt shirt()
Pants pants()
Socks socks()
EnumI<Garment> cleanShirts()
EnumI<Garment> cleanPants()
EnumI<Garment> cleanSocks()
EnumI<Garment> dirtyPile()
EnumI<BiListI<Garment>> laundryRoom()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |