mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
13 lines
229 B
Java
13 lines
229 B
Java
interface Producer<T> {
|
|
|
|
<E extends Exception> @Anno String drainTo( Consumer<? super T, E> consumer, Object someParameter ) throws E;
|
|
|
|
}
|
|
|
|
interface Consumer<T, E extends Exception> {
|
|
|
|
void consume( T message ) throws E;
|
|
|
|
}
|
|
|