switchIfEmpty (process(null));. 其中:. 复制代码. Mono<Bar> process(Foo in){ Optional<Foo> foo = Optional.ofNullable(in); ... } 是否有允許類似的快捷方式運算 ...
確定! 回上一頁