E - element typepublic interface ChannelReceiver<E>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(E element)
New elements are passed into this method.
|
void accept(E element)
element - the element which is being accepted by the consumer.