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 |
Tags
- runSpacing
- VerticalMultiDragGestureRecognizer
- 크롬개발자도구
- Set ID
- 앱
- 안보내짐
- StringUtils.isEmpty
- StringUtils.isBlank
- foreground
- gestureRecognizers
- not working
- Flutter
- TextFormField
- 두 수의 나눗셈
- Chrome Developer Tools
- 플러터
- 웹뷰
- Could not create service of type FileAccessTimeJournal using
- project flow
- TCP/IP모델
- allowBackup
- 플루터
- fullBackupContent
- 입력 커서
- 프로그래머스
- 에러
- 안드로이드
- freezed
- carousel slider
- Flutter SDK
Archives
- Today
- Total
목록Java(자바) (1)
흰오목눈이야 개발하자

먼저 공백이 있는 경우란? 따옴표("")사이에 비어 있는 부분을 말한다. (=" ") ""만 리턴한다면 값이 없다고 할 수 있지만 ""사이에 공백이 있으면 공백을 리턴하는 것이 되기 때문에 서버에서 값을 잘못 보내는 경우를 대비하여 확인할 필요가 있다. StringUtils.isEmpty : 공백이 있는 경우는 처리하지 않는다. 문자열이 null(널)이거나 비어있는 경우("")만 확인한다. StringUtils.isEmpty(null) = true (널이라서 참) StringUtils.isEmpty("") = true (비어있어서 참) StringUtils.isEmpty(" ") = false (공백이 있는 경우는 거짓) StringUtils.isEmpty("test") = false (문자가 있으니까 ..
Java(자바)
2022. 9. 27. 23:32