티스토리 뷰
728x90
https://stackoverflow.com/questions/43664110/kotlin-if-item-not-in-list-proper-syntax
Kotlin: "if item not in list" proper syntax
Given Kotlin's list lookup syntax, if (x in myList) as opposed to idiomatic Java, if (myList.contains(x)) how can one express negation? The compiler doesn't like either of these: if (x not in
stackoverflow.com
728x90
'공부' 카테고리의 다른 글
[JUnit] @Disabled (as-is @Ignore) (0) | 2022.08.11 |
---|---|
[Java] map -> properties `putAll` (0) | 2022.08.11 |
[kotlin] when(type) (0) | 2022.08.11 |
[Java] e.printStackTrace -> String (0) | 2022.08.10 |
[github] actions permissions (0) | 2022.08.10 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 유투브
- Bot
- 할인
- 메디파크 내과 전문의 의학박사 김영수
- 테슬라
- 레퍼럴
- 연애학개론
- 테슬라 크레딧 사용
- 테슬라 레퍼럴
- 테슬라 추천
- follower
- 모델y
- Kluge
- wlw
- 어떻게 능력을 보여줄 것인가?
- 테슬라 리퍼럴 코드 혜택
- 개리마커스
- 모델 Y 레퍼럴
- 테슬라 리퍼럴 코드 생성
- 클루지
- 인스타그램
- COUNT
- 팔로워 수 세기
- 김달
- 테슬라 레퍼럴 적용 확인
- 책그림
- 테슬라 레퍼럴 코드 확인
- 테슬라 리퍼럴 코드
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함