본문 바로가기
자바

자바 dto,vo 리스트 정렬 list sort

by 뇽꾸리 2022. 4. 21.
반응형
myFolderList.stream().sorted(Comparator.comparing(ContentDTO::getContent_id)).collect(Collectors.toList())
반응형

'자바' 카테고리의 다른 글

API 문서 자동화 - Swagger  (0) 2022.08.19
java DTO,VO List 정렬  (0) 2022.08.19
SptringBoot Rest Api Exception  (0) 2022.05.31
string을 VO로 변환, json을 VO로 변환  (0) 2022.01.26
자바 스택/리스트  (0) 2020.06.24

댓글