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