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