isEmpty 与 isPresent 相反,如果为null 返回true。 @Test public void check_optional_with_isEmpty() { Optional<String> java = ...
確定! 回上一頁