๋ถ๋ฅ ์ ์ฒด๋ณด๊ธฐ (374) ์ธ๋ค์ผํ ๋ฆฌ์คํธํ [Kotlin] interface ์ default method๋ฅผ ์๋ฐ๋ก ๋ณํํ๊ธฐ ์ถ์ฒhttps://kotlinlang.org/docs/java-to-kotlin-interop.html#default-methods-in-interfaces Calling Kotlin from Java | Kotlin kotlinlang.orghttps://blog.jetbrains.com/kotlin/2020/07/kotlin-1-4-m3-generating-default-methods-in-interfaces/ Kotlin 1.4-M3: Generating Default Methods in Interfaces | The Kotlin BlogIn Kotlin 1.4, we’re adding new experimental ways for generating default methods in interfa.. [Kotlin] const val ์ถ์ฒhttps://thinking-face.tistory.com/185 [Kotlin] const, val, varKotlin์์ ``const``๋ ์ปดํ์ผ ์๊ฐ์ ๊ฒฐ์ ๋๋ค๋ ์๋ฏธ๋ฅผ ๊ฐ๊ณ ์๋ค. ํ๋ก๊ทธ๋จ์ด ์คํ๋๋ ๋ฐํ์ ์ด์ ์ ์ด๋ฏธ ๊ฒฐ์ ๋์ด ๋ณํ์ง ์๋๋ค๋ ๊ฒ์ด๋ค. ๊ทธ๋์ ``const val``์ ์ปดํ์ผ ์๊ฐ์ ๊ฒฐ์ ๋๋ ์์thinking-face.tistory.comhttps://kotlinlang.org/docs/properties.html#compile-time-constants Properties | Kotlin kotlinlang.orghttps://stackoverflow.com/questions/37595936/what-is-the-difference-between-const-and-va.. [Kotlin] @JvmOverloads - ๋ํดํธ ํ๋ผ๋ฏธํฐ๋ฅผ ์๋ฐ์์๋ ์ด์ฉํ๊ธฐ ์ถ์ฒhttps://kotlinlang.org/docs/java-to-kotlin-interop.html#overloads-generation Calling Kotlin from Java | Kotlin kotlinlang.orghttps://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-overloads/ JvmOverloads - Kotlin Programming Language kotlinlang.org ์ฝํ๋ฆฐ์ ๋ํดํธ ํ๋ผ๋ฏธํฐ๋ ์๋ฐ๋ก ์ปดํ์ผ๋๋ฉด ์ฌ์ฉํ ์ ์๋ค. ์๋ฐ์์๋ ์ผ์ผ์ด ๋ชจ๋ ํ๋ผ๋ฏธํฐ๋ค์ ๊ธฐ์ ํด์ผ ํ๋ค.@JvmOverlaods๋ฅผ ์ฌ์ฉํ๋ฉด ๋ํดํธ ํ๋ผ๋ฏธํฐ๊ฐ ์ค๋ฅธ์ชฝ๋ถํฐ ํ๋์ฉ ์ค์ด๋๋ ์ค๋ฒ๋ก๋๋ ํจ์๋ค์ ์์ฑํ๋ค. ์์ฑ์, ์คํ ํฑ ๋ฉ์๋ ๋ฑ์๋.. [Kotlin] @JvmField : ์ปดํ์ผ์ ๊ฒํฐ, ์ธํฐ ์์ ๊ธฐ ์ถ์ฒhttps://kotlinlang.org/docs/java-to-kotlin-interop.html#instance-fields Calling Kotlin from Java | Kotlin kotlinlang.org ์ฝํ๋ฆฐ์ ์๋์ผ๋ก ํ๋์ getter, setter๋ฅผ ์์ฑํด์ค๋ค. ์ด์ ๊ฐ์ ์์ฑ์ @JvmFiled๋ก ๋ง์ ์ ์๋ค. ์ฝํ๋ฆฐ ์ฝ๋ : @JvmField ์์ดclass User(id: Int) { var userId: Int = id} -> ์๋ฐ๋ก ์ปดํ์ผpublic final class User { private int userId; public final int getUserId() { return this.userId; } public final void .. [Kotlin][Java] Kotlin ๋ฌธ์์ด ์ฐ๊ฒฐ์ด ์๋ฐ๋ก ์ปดํ์ผ ์์ ๋์ ์ถ์ฒhttps://medium.com/%EC%8A%AC%EA%B8%B0%EB%A1%9C%EC%9A%B4-%EA%B0%9C%EB%B0%9C%EC%83%9D%ED%99%9C/java-string-%EC%97%B0%EC%82%B0-string-concat-d76a6eea75 javaโ—โString + ์ฐ์ฐ (String Concat)StringConcatFactorymedium.comhttps://jerry92k.tistory.com/50 str1 ๊ฐ์ฒด ์์ฑ, str1+"b" ๊ฐ์ฒด ์์ฑ, str1+"b"+"c" ๊ฐ์ฒด ์์ฑ ๊ทธ๋" data-og-host="jerry92k.tistory.com" data-og-source-url="https://jerry92k.tistory.com/50" data-og-url=.. [Kotlin][Java] Java์ Stream์ด ์์์๋ Kotlin์ Sequence๋ ์ ๋ง๋ค์์๊น ์ถ์ฒKotlin In Actionhttps://bcp0109.tistory.com/359 Kotlin Collections ์ Sequences ์ ์ฐจ์ด์ (feat. Java Stream)Overview Java8 ์์๋ Collection ์ ๋ค๋ฃจ๊ธฐ ์ํด Stream ์ ์ฌ์ฉํฉ๋๋ค. Kotlin ์ Collections ์์ฒด์์ filter, map ๋ฑ์ ์ฌ๋ฌ ๊ฐ์ง API ๋ฅผ ์ ๊ณตํ๊ธฐ ๋๋ฌธ์ ๋งค๋ฒ .streams() ๋ฅผ ๋ถ์ด์ง ์์๋ ์ฌ์ฉ ๊ฐ๋ฅํ๋ค๋ ์ฅ์ bcp0109.tistory.com ์๋ฐ์ Stream๊ณผ ์ฝํ๋ฆฐ์ Collection, Sequence ๋น๊ตhttps://bcp0109.tistory.com/359 Kotlin Collections ์ Sequences ์ ์ฐจ์ด์ (feat. Jav.. [ํจ์ํ ํ๋ก๊ทธ๋๋ฐ][Kotlin] ๊ณ ์ฐจํจ์ HOF High-order Function, Combinator Pattern ์ถ์ฒhttps://softwarepatternslexicon.com/patterns-kotlin/functional/combinator/ Combinator in KotlinExplore the Combinator Design Pattern in Kotlin, a powerful functional programming technique to combine functions, promoting flexible and reusable code. Learn how to implement and use combinators with real-world examples and programmatic illustrations.softwarepatternslexicon.comhttps://kotlinlang.org.. [Kotlin][ํจ์ํ ํ๋ก๊ทธ๋๋ฐ] ๋ฉค๋ฒ ์ฐธ์กฐ ์ถ์ฒKotlin In Actionhttps://antonioleiva.com/function-references-kotlin/ Function references in Kotlin: use functions as lambdas everywhereFunction references allow to use regular functions as lambdas. With them you can write cleaner code in a more functional style.antonioleiva.comhttps://inpa.tistory.com/entry/JAVA8-%E2%98%95-%EB%9E%8C%EB%8B%A4%EC%8B%9D%EC%9D%84-%EB%8D%94-%EC%A7%A7%EA%B2%8C-%EB%A.. ์ด์ 1 2 3 4 5 ยทยทยท 47 ๋ค์