mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
13 lines
221 B
Java
13 lines
221 B
Java
interface Producer<T> {
|
|
|
|
<E extends Exception> void drainTo( Consumer<? super T, E> consumer, Object someParameter ) throws E;
|
|
|
|
}
|
|
|
|
interface Consumer<T, E extends Exception> {
|
|
|
|
void consume( T message ) throws E;
|
|
|
|
}
|
|
|