kotlin-stdlib

Kotlin Standard Library

The Kotlin Standard Library provides living essentials for everyday work with Kotlin. These include:

  • Higher-order functions implementing idiomatic patterns (let, apply, use, synchronized, etc).

  • Extension functions providing querying operations for collections (eager) and sequences (lazy).

  • Various utilities for working with strings and char sequences.

  • Extensions for JDK classes making it convenient to work with files, IO, and threading.

Packages

Link copied to clipboard

Core functions and types, available on all supported platforms.

Link copied to clipboard

Library support for the Kotlin annotation facility.

Link copied to clipboard

Collection types, such as Iterable, Collection, List, Set, Map and related top-level and extension functions.

Link copied to clipboard

Helper functions for creating Comparator instances.

Link copied to clipboard

Utility functions for concurrent programming.

Link copied to clipboard

IO API for working with files and streams.

Link copied to clipboard

Functions and other APIs specific to the JavaScript platform.

Link copied to clipboard

Functions and annotations specific to the Java platform.

Link copied to clipboard
Link copied to clipboard

Standard implementations of delegates for /docs/reference/delegated-properties.html and helper functions for implementing custom delegates.

Link copied to clipboard

/docs/reference/ranges.html, Progressions and related top-level and extension functions.

Link copied to clipboard

Runtime API for /docs/reference/reflection.html

Link copied to clipboard

Sequence type that represents lazily evaluated collections. Top-level functions for instantiating sequences and extension functions for sequences.

Link copied to clipboard

System-related utility functions.

Link copied to clipboard

Functions for working with text and regular expressions.

Index

All Types