|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Time
Copyright (c) Amish Parkh November 2001 Time.java: The Time class includes the private variable for representing the time. The Time class includes basic methods: getTime, setTime
Constructor Summary | |
Time()
default constructor |
|
Time(double t)
constructor to initailize the time with t |
Method Summary | |
double |
getTime()
get current time |
void |
setTime(double t)
set current time |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Time()
public Time(double t)
Method Detail |
public void setTime(double t)
public double getTime()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |