- 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
推薦閱讀
- Learning C# by Developing Games with Unity 2020
- Java程序設(shè)計(jì)實(shí)戰(zhàn)教程
- Cocos2d-x游戲開發(fā):手把手教你Lua語言的編程方法
- Python貝葉斯分析(第2版)
- Serverless架構(gòu)
- Unreal Engine 4 Shaders and Effects Cookbook
- 基于ARM Cortex-M4F內(nèi)核的MSP432 MCU開發(fā)實(shí)踐
- Oracle GoldenGate 12c Implementer's Guide
- Python入門很輕松(微課超值版)
- Java編程從入門到精通
- 深度實(shí)踐KVM:核心技術(shù)、管理運(yùn)維、性能優(yōu)化與項(xiàng)目實(shí)施
- Ext JS 4 Plugin and Extension Development
- Apache Solr for Indexing Data
- 區(qū)塊鏈:技術(shù)與場(chǎng)景
- Cloud Development andDeployment with CloudBees