- Android Development with Kotlin
- Marcin Moskala Igor Wojda
- 161字
- 2021-07-02 18:48:33
The Kotlin standard library
The Kotlin standard library (stdlib) is a very small library that is distributed together with Kotlin. It is required to run applications written in Kotlin and it is added automatically to our application during the build process.
In Kotlin 1.1, kotlin-runtime was required to run applications written in Kotlin. In fact, in Kotlin 1.1 there were two artifacts ( kotlin-runtime and kotlin-stdlib) that shared a lot of Kotlin packages. To reduce the amount of confusion, both the artifacts will be merged into a single artifact ( kotlin-stdlib) in the upcoming 1.2 version of Kotlin. Starting from Kotlin 1.2, kotlin-stdlib is required to run applications written in Kotlin.
The Kotlin standard library provides essential elements required for everyday work with Kotlin. These include:
- Data types such as arrays, collections, lists, ranges, and so on
- Extensions
- Higher-order functions
- Various utilities for working with strings and char sequences
- Extensions for JDK classes, making it convenient to work with files, IO, and threading
推薦閱讀
- Java程序設計與開發
- AngularJS入門與進階
- Mobile Web Performance Optimization
- LabVIEW Graphical Programming Cookbook
- R語言經典實例(原書第2版)
- LabVIEW程序設計基礎與應用
- 企業級Java EE架構設計精深實踐
- 青少年Python編程入門
- 數據結構習題解析與實驗指導
- Web性能實戰
- Android應用開發深入學習實錄
- Clojure High Performance Programming(Second Edition)
- Getting Started with Electronic Projects
- Selenium WebDriver Practical Guide
- Monitoring Docker