Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- 두개리스트비교
- awsconsole
- Annotation
- 리스트차집합
- 지옥같은git
- Java
- enumtype
- anymatch메서드
- WordPress
- 중복제거
- AWS
- instance생성
- 리스트합집합
- wordpress블로그
- 널포인터에러
- mybatis
- hashset
- 리스트비교
- PostgreSQL
- ansible
- peer authentication 에러
- lightsail
- enum
- 권한정책
- 리스트교집합
- postgresql13
- db
- route53
- list중복제거
- Spring
Archives
- Today
- Total
Anyway

Set seqNoList = new HashSet(seqNoListForCheck); List newSeqNoList = new ArrayList(seqNoList);⚠️ 클라이언트로부터 두 가지의 list를 전달받는데 하나의 list로 합쳐 중복값을 제거해야 했다. List seqNoListForCheck = new ArrayList(); for(Long seqNo : reqDto.getFinalSeqNoList()) { seqNoListForCheck.add(seqNo); } for(SeqNoUseYn seqNo : reqDto.getSeqNoUseYnList()) { seqNoListForChe..
Java
2024. 9. 24. 11:31