java.lang.Objectcz.muni.fi.pb162.task2.Caller
public class Caller
Class represent person with a phone
| Constructor Summary | |
|---|---|
Caller(cz.muni.fi.pb162.task2.Phone device)
Constructor |
|
| Method Summary | |
|---|---|
void |
makeCall(java.lang.String number)
Method simulate call |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Caller(cz.muni.fi.pb162.task2.Phone device)
device - represent device which's use by caller| Method Detail |
|---|
public void makeCall(java.lang.String number)
number - represent phone number