|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
P - the produced element generic typeC - the consumer element generic typepublic interface Producer<P,C extends Consumer<P>>
A producer that produces elements in a specific consumer.
| Method Summary | |
|---|---|
void |
close()
Close the producer. |
Class<P> |
getProducedType()
Returns the class of the produced type. |
void |
open(C consumer)
Open the producer with the specified consumer. |
| Method Detail |
|---|
Class<P> getProducedType()
void open(C consumer)
consumer - the consumer
void close()
throws IOException
close in interface CloseableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||