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
- Flutter
- Android
- Collection
- 다트
- List
- Class
- 플러터
- text
- set
- import
- python
- map
- variable
- DART
- pushnamed
- function
- 파이썬
- 클래스
- package
- ML
- crawler
- Yocto
- 웹크롤러
- animation
- 함수
- 코틀린
- textstyle
- 크롤러
- 콜렉션
- kotlin
Archives
- Today
- Total
목록Transformation (1)
조용한 담장
코틀린(Kotlin) Collections : Transformations
코틀린의 collection 의 transformation 에 대해 살펴보자. 원문 https://kotlinlang.org/docs/reference/collection-transformations.html 을 보며 정리. 한 collection 에서 다른 형태로 변형시키는 확장 함수들을 제공한다. Mapping 다른 collection 의 element 로 부터 mapping transformation 을 만든다. 기본 함수는 map() 이다. inline fun Iterable.map( transform: (T) -> R ): List 주어진 람다 함수를 각 element 에 적용하여 그 결과를 가진 List 를 리턴한다. element 의 순서는 원본의 collection 과 같다. mapInde..
kotlin
2020. 3. 18. 18:57