为什么更推荐使用 Optional 类封装可能为null 的返回值? ... Optional(T value) { 10 // 判空,value 为null 抛异常11 this.value = Objects.
確定! 回上一頁