acme
Class Clock

java.lang.Object
  extended by acme.Clock

public class Clock
extends java.lang.Object


Constructor Summary
Clock(int h, int m, int s)
           
 
Method Summary
 int getHours()
           
 int getMinutes()
           
 int getSeconds()
           
 void setHours(int h)
           
 void setMinutes(int m)
           
 void setSeconds(int s)
           
 void tick()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Clock

public Clock(int h,
             int m,
             int s)
Method Detail

getHours

public int getHours()

getMinutes

public int getMinutes()

getSeconds

public int getSeconds()

setHours

public void setHours(int h)

setMinutes

public void setMinutes(int m)

setSeconds

public void setSeconds(int s)

tick

public void tick()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object