mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
17 lines
434 B
Java
17 lines
434 B
Java
class Test<E_OUT> {
|
|
final <P_IN_WRAP_SINK> Sink<P_IN_WRAP_SINK> wrapSink(Sink<E_OUT> sink) {
|
|
return null;
|
|
}
|
|
|
|
final <P_IN> void wrapAndCopyInto( Sink<E_OUT> sink, Spliterator<P_IN> spliterator) {
|
|
copyInto(wrapSink(sink), spliterator);
|
|
}
|
|
|
|
final <P_IN_COPY> void copyInto(Sink<P_IN_COPY> wrappedSink, Spliterator<P_IN_COPY> spliterator) {
|
|
|
|
}
|
|
class Sink<T> {}
|
|
|
|
interface Spliterator<A>{}
|
|
}
|