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