Class Computer
java.lang.Object
|
+--Computer
- public class Computer
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
incrementIdent
public static void incrementIdent()
- Increments the counter
restart
public static void restart()
- Restart the counter
start
public void start()
- Start computer's threads
turnoff
public void turnoff()
- Stop computer's threads
pause
public void pause()
- Pause computer's threads
setClock
public void setClock(Clock clock)
getClock
public Clock getClock()
setQueue
public void setQueue(Queue queue)
getQueue
public Queue getQueue()
setCreator
public void setCreator(Creator creator)
getCreator
public Creator getCreator()
setCPU
public void setCPU(CPU cpu)
getCPU
public CPU getCPU()