[Kotlin] Collections : List, Set, Map, filter, map ... etc

Kotlin 컬렉션에 대해서 알아봅니다. 컬렉션은 데이터 구조라고도 합니다. 컬렉션 유형을 사용하면 코드에서 값을 그룹화하고 정리할 수 있습니다. List, Set, Map, filter, map, any, all, none, find, findLast, first, last, count, associateBy, groupBy, partition, flatMap, minOrNull, maxOrNull, sorted, Map Element Access zip, getOrElse에 대해서 알아봅니다.
Apr 19, 2024
[Kotlin] Collections : List, Set, Map, filter, map ... etc

Collections

List

Set

Map

filter

map

any, all, none

find, findLast

first, last

count

associateBy, groupBy

partition

flatMap

minOrNull, maxOrNull

sorted

Map Element Access

zip

getOrElse

Share article
RSSPowered by inblog