optional, stream
Optinal.ofNullable(bsnsId).ifPresent(id -> { } Optional.ofNullable(testMapper.selectTestList()).ifPresent(testList -> { testList.forEach(testVO -> { } } https://www.daleseo.com/java8-optional-before/ 자바8 Optional 1부: 빠져나올 수 없는 null 처리의 늪 Engineering Blog by Dale Seo www.daleseo.com https://www.daleseo.com/java8-optional-after/ 자바8 Optional 2부: null을 대하는 새로운 방법 Engineering Blog by Dale Seo www.da..
2021.12.16