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
- javascript string 함수
- 오아랜턴
- rest형식으로 workbook 다운
- nodejs string
- 캠핑용 led랜턴
- spring boot rest api return excel file
- nodejs indexof
- 코틀린 listOf
- visualstudiocode설치
- 코틀린 스트림 함수
- rest api 엑셀다운
- spring boot rest api export excel file
- Manifest
- nodejs split
- rest api poi down
- rest api poi 다운
- 충전식 랜턴
- nodejs 함수
- spring rest api download excel
- nodejs length
- 오아올라이트
- vscode 설치
- nodejs substring
- ResponseEntity file download
- spring rest api to download excel file
- nodejs substr
- VSCODE설치
- 캠핑용랜턴
- node.js string
- spring boot rest api download excel
Archives
- Today
- Total
목록코틀린 스트림 함수 (1)
블랙디의 개발새발
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/byWaSt/btqCl8BE5AZ/mwHrkNdLF3DutbkH3sbPh0/img.jpg)
kotlin first 함수예제, kotlin last 함수 예제, kotlin firstOrNull, lastOrNull 함수에 대해서 알아보겠습니다. 1. 코틀린 first, last 함수란? - first 함수는 컬렉션 인자 중에서 첫번째 인자를 return 한다. 또한 어떠한 조건을 만족하면서 첫번째 인자를 return 하는 구조도 가능하다. - firstOrNull 함수를 쓰면 Null 값을 return하도록 할 수 있다. - last 함수는 first 함수의 반대의 기능이라고 생각하면 되고, lastOrNull 함수도 있다. 2. 코틀린 first, last 함수 예제 fun firstLast(){ val names = listOf("Duke", "Leonardo", "Sara", "James..
IT Program/Kotlin Tip
2020. 3. 1. 23:13