|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jcreme.processing.ProducerRunnable
This class is designed to act as a data source.
| Constructor Summary | |
ProducerRunnable(Producer source)
Creates new ProducerRunnable |
|
| Method Summary | |
Producer |
getSource()
Gives access to the underlying source. |
void |
run()
The actual production process. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProducerRunnable(Producer source)
throws java.lang.IllegalArgumentException
source - The producer that will produce the items.
java.lang.IllegalArgumentException - if source is null.| Method Detail |
public void run()
run in interface java.lang.Runnablepublic Producer getSource()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||