|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.zcu.kiv.ppr.msloup.Computer
public class Computer
Trida predstavuje abstrakci obycejneho pocitace
| Constructor Summary | |
|---|---|
Computer(int cpuCount)
Konstruktor pocitace s udanim poctu procesoru v pocitaci |
|
| Method Summary | |
|---|---|
void |
executeFiber(Fiber fiber)
Spusti na pocitaci zadany fiber |
void |
start()
Spusti pocitac a pocka, dokud nebude pocitac vypnut |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Computer(int cpuCount)
cpuCount - pocet procesoru v pocitaci| Method Detail |
|---|
public void executeFiber(Fiber fiber)
fiber - fiber, ktery bude spustenpublic void start()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||