ofNullable (). It's quite common to misuse these two concepts. Just remember that Optional.of(null) will throw a NullPointer exception, while ...
確定! 回上一頁