본문 바로가기 메뉴 바로가기

Programming makes everything

프로필사진
  • Git Blog
  • GitHub
  • LinkedIn
  • Facebook
  • Instagram
  • Email

Programming makes everything

검색하기 폼
  • All Categories
    • Architecture
      • Front-End
      • Back-End
      • Design Pattern
    • Computer Language
      • Scala
      • Kotlin
      • Python
      • Java
    • Data Engineering
      • Spark
      • HQL
      • Airflow
    • Development Tools
      • IntelliJ
      • GitHub
  • 방명록

[Kotlin] How to convert List to an array in Kotlin?

First, implement convert function private inline fun toArray(list: List): Array { return (list as List).toTypedArray() }and then convert list to array with this function val list:List = lisfOf("harry", "potter") val array = toArray(list)If you need to put array value to vararg parameter to Java Function, you need to put * front of variable val familyName = getFamilyName(*array)When will vararg n..

Computer Language/Kotlin 2019. 9. 3. 08:28
[TroubleShooting] CoroutineContext version up issue

I was using Kotlin version 1.2.41 and I upgraded Kotlin version 1.2.41 to 1.3.21. Then, I got compile Error. $ ‘runBlocking(CoroutineContext = ..., suspend CoroutineScope.() -> T): T’ is only available since Kotlin 1.3 and cannot be used in Kotlin 1.2Here is original code plugins { id "org.jetbrains.kotlin.jvm" version "$kotlinVersion" id "org.jetbrains.kotlin.plugin.spring" version "$kotlinVers..

Computer Language/Kotlin 2019. 8. 30. 00:29
[Spring Boot] How to create new spring boot project with customizing

1. Using existing Homepage https://start.spring.io/ - Setting Project, Language, spring boot version, and dependency - Click Generate the project to download with .Zip and unzip as folder - Open folder with Development tool(like IntelliJ, Eclipse) 2. Using IntelliJ - Go File -> New -> Project - Choose Spring Initializr - Choose Type, Language, dependency - create Project Automatically And https:..

Architecture/Back-End 2019. 8. 28. 08:00
이전 1 2 다음
이전 다음
TAG
  • IntelliJ
  • idea
  • Gradle
  • NullPointerException
  • NPE
  • Kotlin 1.3
  • spring boot
  • Java
  • Ultimate Edition
  • kotlin
more
Recent Post
Follow
  • Blog
  • Github
  • LinkedIn

Blog is powered by Tistory / Designed by Tistory / Management Page

티스토리툴바