Kotlin Collection 공식 문서를 정리 한 글입니다. Collection의 Set specific operator에 대해 알아봅니다.
Github repo 에서 아래에 적힌 Kotlin 코드들을 확인 하실 수 있습니다.
Set-specific operator
- set collection은 수학에서의 집합과 매우 닮아있다. 따라서, 집합에 관련된 연산들을 사용 할 수 있다. ( 합집합 (
union
/ 교집합intersect
/ 차집합subtract
)
1 |
|
출처 : https://kotlinlang.org/docs/set-operations.html
"Android" 카테고리의 최근 포스팅
카테고리 모든 글 보기Kotlin - 코루틴 동작 원리 ( Continuation / CPS / State Machine ) | 2025. 04. 23 |
---|---|
JVM - Runtime Data Area - Thread | 2025. 04. 21 |
JVM - Runtime Data Area - Heap | 2025. 04. 21 |
JVM - Runtime Data Area - Method | 2025. 04. 19 |
JVM - Interned string | 2025. 04. 18 |
Android - 직렬화 | 2025. 04. 17 |
Hilt - ComponentScope | 2025. 04. 16 |
Kotlin - Channel | 2025. 04. 15 |
Android - ViewModel 에 대해서 | 2025. 04. 14 |
Android - Bundle 이란 | 2025. 04. 13 |