Optional < Resource > res = Optional.ofNullable(resource);. if (res.isPresent()) {. res.get().getValueMap().get( "myproperty" , StringUtils.EMPTY);. } ...
確定! 回上一頁