使用OPtional的orElse()问题

使用OPtional的orElse()问题 项目中有这样一段代码: return Optional.ofNullable(service.A()).orElse(service.B()) 1功能显而易见&

8月前170