티스토리 뷰
728x90
https://zion830.tistory.com/71
[Kotlin] *(Star-projections)과 Any의 차이점
특정 코드를 여러 타입에 대해 재사용 하고 싶을 때, 정확히 어떤 타입이 들어오게 될 지 미리 알 수 없을 때 제네릭 타입을 사용한다. 코틀린에서 모든 타입을 받기 위해 사용하는 Any , * 가 어
zion830.tistory.com
728x90
'공부' 카테고리의 다른 글
[Python] pandas `df.reset_index()` (0) | 2022.07.31 |
---|---|
[Avro] Schema Registry Compatibility Level (0) | 2022.07.31 |
Kubernetes helm (0) | 2022.07.31 |
`Docker Container` vs `Virtual Machine` (0) | 2022.07.31 |
[CI] ktlint & detekt (0) | 2022.07.22 |
댓글