|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMazeResult
public class MazeResult
Provides maze results for a rodent.
Constructor Summary | |
---|---|
MazeResult(Rat inRat)
Constructor for objects of class MazeResult. |
Method Summary | |
---|---|
String |
getActualTime()
Gets the actual time for the rodent. |
String |
getContestTime()
Gets the contest time for the rodent. |
Time |
getEndTime()
Gets the end time for the rodent. |
int |
getNumOfErrors()
Gets the number of errors for the rodent. |
Rat |
getRat()
Gets the rodent. |
Time |
getStartTime()
Gets the start time for the rodent. |
void |
setEndTime(int inHrs,
int inMins,
int inSecs)
Sets the end time for the rodent. |
void |
setNumOfErrors(int inNumOfErrors)
Sets the number of errors for the rodent. |
void |
setRat(Rat inRat)
Sets the rodent. |
void |
setStartTime(int inHrs,
int inMins,
int inSecs)
Sets the start time for the rodent. |
String |
toString()
Gets a formatted string with information for the rodent and maze. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MazeResult(Rat inRat)
inRat
- Rat object.Method Detail |
---|
public String getActualTime()
public String getContestTime()
public Time getEndTime()
public int getNumOfErrors()
public Rat getRat()
public Time getStartTime()
public void setEndTime(int inHrs, int inMins, int inSecs)
inHrs
- Hours of the rodent's end time.inMins
- Minutes of the rodent's end time.inSecs
- Seconds of the rodent's end time.public void setNumOfErrors(int inNumOfErrors)
inNumOfErrors
- Number of Errors of the rodent.public void setRat(Rat inRat)
inRat
- Rat object.public void setStartTime(int inHrs, int inMins, int inSecs)
inHrs
- Hours of the rodent's start time.inMins
- Minutes of the rodent's start time.inSecs
- Seconds of the rodent's start time.public String toString()
toString
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |