public class GreetingProducer extends java.lang.Object implements java.lang.Runnable
Constructor and Description |
---|
GreetingProducer(java.lang.String aGreeting)
Constructs the producer object.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
public GreetingProducer(java.lang.String aGreeting)
aGreeting
- the greeting to displaypublic void run()
run
in interface java.lang.Runnable