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 |
Tags
- 웹뷰
- StringUtils.isEmpty
- TextFormField
- gestureRecognizers
- Flutter SDK
- Flutter
- 앱
- 플루터
- Set ID
- project flow
- 프로그래머스
- StringUtils.isBlank
- runSpacing
- freezed
- 플러터
- Could not create service of type FileAccessTimeJournal using
- 안보내짐
- foreground
- allowBackup
- VerticalMultiDragGestureRecognizer
- carousel slider
- 입력 커서
- 에러
- 안드로이드
- fullBackupContent
- 크롬개발자도구
- TCP/IP모델
- not working
- 두 수의 나눗셈
- Chrome Developer Tools
Archives
- Today
- Total
목록Java(자바) (1)
흰오목눈이야 개발하자
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/dabg43/btrNeIqnQ3W/gZXGrsXoC8YfMK3BHrpOAk/img.png)
먼저 공백이 있는 경우란? 따옴표("")사이에 비어 있는 부분을 말한다. (=" ") ""만 리턴한다면 값이 없다고 할 수 있지만 ""사이에 공백이 있으면 공백을 리턴하는 것이 되기 때문에 서버에서 값을 잘못 보내는 경우를 대비하여 확인할 필요가 있다. StringUtils.isEmpty : 공백이 있는 경우는 처리하지 않는다. 문자열이 null(널)이거나 비어있는 경우("")만 확인한다. StringUtils.isEmpty(null) = true (널이라서 참) StringUtils.isEmpty("") = true (비어있어서 참) StringUtils.isEmpty(" ") = false (공백이 있는 경우는 거짓) StringUtils.isEmpty("test") = false (문자가 있으니까 ..
Java(자바)
2022. 9. 27. 23:32