Class Computer

java.lang.Object
  |
  +--Computer

public class Computer
extends java.lang.Object


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

Method Detail

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()