Files
kotlin-fork/libraries/stdlib
Ilya Gorbunov 9618a3542f Provide getOrElse and getOrNull methods for indexed collections.
Breaking: elementAtOrElse is no longer inlined for Iterables and Sequences.
#KT-6952
2015-07-03 16:38:08 +03:00
..
2015-06-24 01:35:25 +03:00
2014-10-13 21:25:55 +04:00

The Kotlin Standard Library

This module creates the standard library for kotlin.

Notes for contributors

We use some code generation to apply the various collection-like methods to various different types like arrays, strings, kotlin.Iterable and java.lang.Iterable etc.

To run the code generator from a kotlin checkout

cd libraries/tools/kotlin-stdlib-gen
mvn compile exec:java

This then runs the GenerateStandardLib.kt script to create the source from the files for java.lang.Iterable and java.util.Collection etc.