|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- the element generic typepublic interface Consumer<E>
Defines the interface for a consumer.
Method Summary | |
---|---|
Class<E> |
getConsumedType()
Returns the class of the element generic type. |
void |
provide(E element)
Provide an element. |
Methods inherited from interface java.io.Flushable |
---|
flush |
Method Detail |
---|
void provide(E element) throws IOException
element
- the provided element
IOException
Class<E> getConsumedType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |