mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-27 04:03:29 +07:00
23 lines
502 B
Java
23 lines
502 B
Java
|
|
public class TestCompletion {
|
|
|
|
public static <T, V> ParallelPipeline<T, V> test(T base, V newStage, T upstream) {
|
|
if (base != null){
|
|
return <selection>new ParallelPipeline<>(base, newStage)</selection>;
|
|
}
|
|
else {
|
|
return new ParallelPipeline<>(upstream, newStage);
|
|
}
|
|
|
|
}
|
|
|
|
|
|
void f() {
|
|
test(null, null, null);
|
|
}
|
|
private static class ParallelPipeline<T, V> {
|
|
public ParallelPipeline(T p0, V p1) {
|
|
}
|
|
}
|
|
}
|