Kotlinlang · Resources
Resources listings from Kotlinlang on TechiSeek. 159 public listings.
- JS plain objects compiler plugin (Kotlinlang)JS plain objects compiler plugin The Java Script (JS) plain objects compiler plugin (js-plain-objects) lets you create and copy plain JS ob…
- HTML | Kotlin (Kotlinlang)HTML HTML is Dokka's default and recommended output format. It provides support for Kotlin Multiplatform, Android, and Java projects.
- Inline value classes (Kotlinlang)Inline value classes Sometimes it is useful to wrap a value in a class to create a more domain-specific type.
- Dokka Gradle configuration options (Kotlinlang)Dokka Gradle configuration options Dokka has many configuration options to customize your and your reader's experience.
- Context parameters (Kotlinlang)Context parameters Context parameters allow functions and properties to declare dependencies that are implicitly available in the surroundi…
- Calling Java from Kotlin (Kotlinlang)Calling Java from Kotlin Kotlin is designed with Java interoperability in mind. Existing Java code can be called from Kotlin in a natural w…
- Filtering collections (Kotlinlang)Filtering collections Filtering is one of the most popular tasks in collection processing.
- Data classes (Kotlinlang)Data classes Data classes in Kotlin are primarily used to hold data. For each data class, the compiler automatically generates additional m…
- Configure a Gradle project (Kotlinlang)Configure a Gradle project To build a Kotlin project with Gradle, you need to add the Kotlin Gradle plugin to your build script file build.…
- Grouping | Kotlin (Kotlinlang)Grouping The Kotlin standard library provides extension functions for grouping collection elements.
- Compatibility guide for Kotlin 1.6.x | Kotlin (Kotlinlang)Compatibility guide for Kotlin 1.6.x Keeping the Language Modern and Comfortable Updates are among the fundamental principles in Kotlin Lan…
- Coding conventions (Kotlinlang)Coding conventions Commonly known and easy-to-follow coding conventions are vital for any programming language.
- Booleans | Kotlin (Kotlinlang)Booleans The Boolean type represents logical values: true and false. Use Boolean values in functions that answer yes-or-no questions, and i…
- Functional (SAM) interfaces (Kotlinlang)Functional (SAM) interfaces An interface with only one abstract member function is called a functional interface, or a Single Abstract Meth…
- Maven | Kotlin (Kotlinlang)Maven To generate documentation for a Maven-based project, you can use the Maven plugin for Dokka.
- Calling Kotlin from Java (Kotlinlang)Calling Kotlin from Java Kotlin code can be easily called from Java. For example, instances of a Kotlin class can be seamlessly created and…
- Compatibility guide for Kotlin 2.0.x | Kotlin (Kotlinlang)Keeping the Language Modern and Comfortable Updates are among the fundamental principles in Kotlin Language Design.
- Backward compatibility guidelines for library authors (Kotlinlang)Backward compatibility guidelines for library authors The most common motivation for creating a library is to expose functionality to a wid…
- Collection operations overview (Kotlinlang)Collection operations overview The Kotlin standard library offers a broad variety of functions for performing operations on collections.
- Classes | Kotlin (Kotlinlang)Classes Like other object-oriented languages, Kotlin uses classes to encapsulate data (properties) and behavior (functions) for reusable, s…
- Retrieve single elements (Kotlinlang)Retrieve single elements Kotlin collections provide a set of functions for retrieving single elements from collections.
- Constructing collections (Kotlinlang)Constructing collections Construct from elements The most common way to create a collection is with the standard library functions list Of(…
- Javadoc | Kotlin (Kotlinlang)Javadoc Dokka's Javadoc output format is a lookalike of Java's Javadoc HTML format. It tries to visually mimic HTML pages generated by the…
- Kotlin compiler options (Kotlinlang)Kotlin compiler options Each release of Kotlin includes compilers for the supported targets: JVM, Java Script, and native binaries for supp…
- Compatibility guide for Kotlin 1.5.x | Kotlin (Kotlinlang)Compatibility guide for Kotlin 1.5.x Keeping the Language Modern and Comfortable Updates are among the fundamental principles in Kotlin Lan…
- Interfaces | Kotlin (Kotlinlang)Interfaces Interfaces in Kotlin can contain declarations of abstract methods, as well as method implementations.
- Compiler options in the Kotlin Gradle plugin (Kotlinlang)The settings at a higher level are used as a convention (default) for a lower level: Compiler options set at the extension level are the de…
- Kotlin/JS reflection (Kotlinlang)Kotlin/JS reflection Kotlin/JS provides a limited support for the Kotlin reflection API. The only supported parts of the API are: Class ref…
- CLI | Kotlin (Kotlinlang)CLI If for some reason you cannot use Gradle or Maven build tools, Dokka has a command line (CLI) runner for generating documentation.
- Inheritance | Kotlin (Kotlinlang)Inheritance All classes in Kotlin have a common superclass, Any, which is the default superclass for a class with no supertypes declared: A…
- Set up a Kotlin/JS project (Kotlinlang)Set up a Kotlin/JS project Kotlin/JS projects use Gradle as a build system. To let developers easily manage their Kotlin/JS projects, we of…
- Plus and minus operators (Kotlinlang)Plus and minus operators In Kotlin, plus (+) and minus (-) operators are defined for collections.
- Use Kotlin code from JavaScript (Kotlinlang)Use Kotlin code from Java Script Depending on the selected Java Script Module system, the Kotlin/JS compiler generates different output.
- Characters | Kotlin (Kotlinlang)Characters The Char type represents a single character as a UTF-16 code unit. Use Char for individual character values, such as letters, di…
- Compatibility guide for Kotlin 2.3.x | Kotlin (Kotlinlang)Compatibility guide for Kotlin 2.3.x Keeping the Language Modern and Comfortable Updates are among the fundamental principles in Kotlin Lan…
- Equality | Kotlin (Kotlinlang)Equality In Kotlin, there are two types of equality: - Structural equality ( == ) - a check for theequals() function - Referential equality…
- Binary compatibility validation in the Kotlin Gradle plugin (Kotlinlang)Binary compatibility validation in the Kotlin Gradle plugin Binary compatibility validation helps library authors ensure that users don't b…
- Kotlin command-line compiler (Kotlinlang)Kotlin command-line compiler Every Kotlin release ships with a standalone version of the compiler.
- Run tests in Kotlin/JS (Kotlinlang)Run tests in Kotlin/JS The Kotlin Multiplatform Gradle plugin lets you run tests through a variety of test runners that can be specified vi…
- Iterators | Kotlin (Kotlinlang)Iterators For traversing collection elements, the Kotlin standard library supports the commonly used mechanism of iterators – objects that…
- Destructuring declarations (Kotlinlang)Destructuring declarations Sometimes it is convenient to destructure an object into a number of variables, for example: This syntax is call…
- Using Java records in Kotlin (Kotlinlang)Using Java records in Kotlin Records are classes in Java for storing immutable data. Records carry a fixed set of values – the records comp…
- Ordering | Kotlin (Kotlinlang)Ordering The order of elements is an important aspect of certain collection types. For example, two lists of the same elements are not equa…
- Aggregate operations (Kotlinlang)Aggregate operations Kotlin collections contain functions for commonly used aggregate operations – operations that return a single value ba…
- Delegation | Kotlin (Kotlinlang)Delegation The Delegation pattern has proven to be a good alternative to implementation inheritance, and Kotlin supports it natively requir…
- Debuggability (Kotlinlang)Debuggability Users of your library will build on its functionality, and the features they build will contain errors that need to be identi…
- All-open compiler plugin (Kotlinlang)All-open compiler plugin Kotlin has classes and their members final by default, which makes it inconvenient to use frameworks and libraries…
- Compatibility guide for Kotlin 1.7.20 | Kotlin (Kotlinlang)Compatibility guide for Kotlin 1.7.20 Keeping the Language Modern and Comfortable Updates are among the fundamental principles in Kotlin La…
- Generics: in, out, where (Kotlinlang)Generics: in, out, where Classes in Kotlin can have type parameters, just like in Java: To create an instance of such a class, simply provi…
- Flow operators (Kotlinlang)Flow operators let you transform and process values in a flow pipeline. Kotlin provides two main kinds of flow operators: Intermediate oper…