JS stdlib api test: various changes
- Setting -Doverwrite.output=true updates gold data - Big packages don't get split into chunks - Unique lines in the API are marked with /*∆*/ and diff test is removed - Annotations on separate lines and other dump format tweaks - Test data moved to libraries/stdlib/api/ - Minor visibility fix to Enum members
This commit is contained in:
committed by
Anton Bannykh
parent
7b61bf9178
commit
cbabb4f76a
@@ -0,0 +1,104 @@
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
@kotlin.js.JsName(name = "$")
|
||||
public external fun jq(): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
@kotlin.js.JsName(name = "$")
|
||||
public external fun jq(callback: () -> kotlin.Unit): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
@kotlin.js.JsName(name = "$")
|
||||
public external fun jq(obj: jquery.JQuery): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
@kotlin.js.JsName(name = "$")
|
||||
public external fun jq(selector: kotlin.String): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
@kotlin.js.JsName(name = "$")
|
||||
public external fun jq(selector: kotlin.String, context: org.w3c.dom.Element): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
@kotlin.js.JsName(name = "$")
|
||||
public external fun jq(el: org.w3c.dom.Element): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
public final external class JQuery {
|
||||
public constructor JQuery()
|
||||
|
||||
public final fun addClass(f: (kotlin.Int, kotlin.String) -> kotlin.String): jquery.JQuery
|
||||
|
||||
public final fun addClass(className: kotlin.String): jquery.JQuery
|
||||
|
||||
public final fun append(str: kotlin.String): jquery.JQuery
|
||||
|
||||
public final fun attr(attrName: kotlin.String): kotlin.String
|
||||
|
||||
public final fun attr(attrName: kotlin.String, value: kotlin.String): jquery.JQuery
|
||||
|
||||
public final fun change(handler: () -> kotlin.Unit): jquery.JQuery
|
||||
|
||||
public final fun click(): jquery.JQuery
|
||||
|
||||
public final fun click(handler: (jquery.MouseClickEvent) -> kotlin.Unit): jquery.JQuery
|
||||
|
||||
public final fun dblclick(handler: (jquery.MouseClickEvent) -> kotlin.Unit): jquery.JQuery
|
||||
|
||||
public final fun hasClass(className: kotlin.String): kotlin.Boolean
|
||||
|
||||
public final fun height(): kotlin.Number
|
||||
|
||||
public final fun hover(handlerInOut: () -> kotlin.Unit): jquery.JQuery
|
||||
|
||||
public final fun hover(handlerIn: () -> kotlin.Unit, handlerOut: () -> kotlin.Unit): jquery.JQuery
|
||||
|
||||
public final fun html(): kotlin.String
|
||||
|
||||
public final fun html(f: (kotlin.Int, kotlin.String) -> kotlin.String): jquery.JQuery
|
||||
|
||||
public final fun html(s: kotlin.String): jquery.JQuery
|
||||
|
||||
public final fun load(handler: () -> kotlin.Unit): jquery.JQuery
|
||||
|
||||
public final fun mousedown(handler: (jquery.MouseEvent) -> kotlin.Unit): jquery.JQuery
|
||||
|
||||
public final fun mousemove(handler: (jquery.MouseEvent) -> kotlin.Unit): jquery.JQuery
|
||||
|
||||
public final fun mouseup(handler: (jquery.MouseEvent) -> kotlin.Unit): jquery.JQuery
|
||||
|
||||
public final fun next(): jquery.JQuery
|
||||
|
||||
public final fun parent(): jquery.JQuery
|
||||
|
||||
public final fun ready(handler: () -> kotlin.Unit): jquery.JQuery
|
||||
|
||||
public final fun removeClass(className: kotlin.String): jquery.JQuery
|
||||
|
||||
public final fun slideUp(): jquery.JQuery
|
||||
|
||||
public final fun text(text: kotlin.String): jquery.JQuery
|
||||
|
||||
public final fun `val`(): kotlin.String?
|
||||
|
||||
public final fun width(): kotlin.Number
|
||||
}
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
public final external class MouseClickEvent : jquery.MouseEvent {
|
||||
public constructor MouseClickEvent()
|
||||
|
||||
public final val which: kotlin.Int { get; }
|
||||
}
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
public open external class MouseEvent {
|
||||
public constructor MouseEvent()
|
||||
|
||||
public final val pageX: kotlin.Double { get; }
|
||||
|
||||
public final val pageY: kotlin.Double { get; }
|
||||
|
||||
public final fun isDefaultPrevented(): kotlin.Boolean
|
||||
|
||||
public final fun preventDefault(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
public inline fun jquery.JQuery.accordion(): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
public inline fun jquery.JQuery.button(): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
public inline fun jquery.JQuery.buttonset(): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
public inline fun jquery.JQuery.dialog(): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
public inline fun jquery.JQuery.dialog(mode: kotlin.String): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
public inline fun jquery.JQuery.dialog(mode: kotlin.String, param: kotlin.String): kotlin.Any?
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
public inline fun jquery.JQuery.dialog(mode: kotlin.String, param: kotlin.String, value: kotlin.Any?): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
public inline fun jquery.JQuery.dialog(params: kotlin.js.Json): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
public inline fun jquery.JQuery.draggable(params: kotlin.js.Json): jquery.JQuery
|
||||
|
||||
@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.")
|
||||
public inline fun jquery.JQuery.selectable(): jquery.JQuery
|
||||
@@ -0,0 +1,65 @@
|
||||
public final enum class AnnotationRetention : kotlin.Enum<kotlin.annotation.AnnotationRetention> {
|
||||
enum entry SOURCE
|
||||
|
||||
enum entry BINARY
|
||||
|
||||
enum entry RUNTIME
|
||||
}
|
||||
|
||||
public final enum class AnnotationTarget : kotlin.Enum<kotlin.annotation.AnnotationTarget> {
|
||||
enum entry CLASS
|
||||
|
||||
enum entry ANNOTATION_CLASS
|
||||
|
||||
enum entry TYPE_PARAMETER
|
||||
|
||||
enum entry PROPERTY
|
||||
|
||||
enum entry FIELD
|
||||
|
||||
enum entry LOCAL_VARIABLE
|
||||
|
||||
enum entry VALUE_PARAMETER
|
||||
|
||||
enum entry CONSTRUCTOR
|
||||
|
||||
enum entry FUNCTION
|
||||
|
||||
enum entry PROPERTY_GETTER
|
||||
|
||||
enum entry PROPERTY_SETTER
|
||||
|
||||
enum entry TYPE
|
||||
|
||||
enum entry EXPRESSION
|
||||
|
||||
enum entry FILE
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
enum entry TYPEALIAS
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.ANNOTATION_CLASS})
|
||||
public final annotation class MustBeDocumented : kotlin.Annotation {
|
||||
public constructor MustBeDocumented()
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.ANNOTATION_CLASS})
|
||||
public final annotation class Repeatable : kotlin.Annotation {
|
||||
public constructor Repeatable()
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.ANNOTATION_CLASS})
|
||||
public final annotation class Retention : kotlin.Annotation {
|
||||
public constructor Retention(value: kotlin.annotation.AnnotationRetention = ...)
|
||||
|
||||
public final val value: kotlin.annotation.AnnotationRetention { get; }
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.ANNOTATION_CLASS})
|
||||
@kotlin.annotation.MustBeDocumented
|
||||
public final annotation class Target : kotlin.Annotation {
|
||||
public constructor Target(vararg allowedTargets: kotlin.annotation.AnnotationTarget)
|
||||
|
||||
public final val allowedTargets: kotlin.Array<out kotlin.annotation.AnnotationTarget> { get; }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public external val document: org.w3c.dom.Document { get; }
|
||||
|
||||
public external val localStorage: org.w3c.dom.Storage { get; }
|
||||
|
||||
public external val sessionStorage: org.w3c.dom.Storage { get; }
|
||||
|
||||
public external val window: org.w3c.dom.Window { get; }
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,328 @@
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> compareBy(crossinline selector: (T) -> kotlin.Comparable<*>?): kotlin.Comparator<T>
|
||||
|
||||
public fun <T> compareBy(vararg selectors: (T) -> kotlin.Comparable<*>?): kotlin.Comparator<T>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T, K> compareBy(comparator: kotlin.Comparator<in K>, crossinline selector: (T) -> K): kotlin.Comparator<T>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> compareByDescending(crossinline selector: (T) -> kotlin.Comparable<*>?): kotlin.Comparator<T>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T, K> compareByDescending(comparator: kotlin.Comparator<in K>, crossinline selector: (T) -> K): kotlin.Comparator<T>
|
||||
|
||||
public fun <T : kotlin.Comparable<*>> compareValues(a: T?, b: T?): kotlin.Int
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> compareValuesBy(a: T, b: T, selector: (T) -> kotlin.Comparable<*>?): kotlin.Int
|
||||
|
||||
public fun <T> compareValuesBy(a: T, b: T, vararg selectors: (T) -> kotlin.Comparable<*>?): kotlin.Int
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T, K> compareValuesBy(a: T, b: T, comparator: kotlin.Comparator<in K>, selector: (T) -> K): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun <T : kotlin.Comparable<T>> maxOf(a: T, b: T): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun <T : kotlin.Comparable<T>> maxOf(a: T, b: T, c: T): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun <T> maxOf(a: T, b: T, c: T, comparator: kotlin.Comparator<in T>): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun <T> maxOf(a: T, b: T, comparator: kotlin.Comparator<in T>): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun <T : kotlin.Comparable<T>> maxOf(a: T, vararg other: T): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun <T> maxOf(a: T, vararg other: T, comparator: kotlin.Comparator<in T>): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.Byte, b: kotlin.Byte): kotlin.Byte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.Byte, b: kotlin.Byte, c: kotlin.Byte): kotlin.Byte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun maxOf(a: kotlin.Byte, vararg other: kotlin.Byte): kotlin.Byte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.Double, b: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.Double, b: kotlin.Double, c: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun maxOf(a: kotlin.Double, vararg other: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.Float, b: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.Float, b: kotlin.Float, c: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun maxOf(a: kotlin.Float, vararg other: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.Int, b: kotlin.Int): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.Int, b: kotlin.Int, c: kotlin.Int): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun maxOf(a: kotlin.Int, vararg other: kotlin.Int): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public inline fun maxOf(a: kotlin.Long, b: kotlin.Long): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.Long, b: kotlin.Long, c: kotlin.Long): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun maxOf(a: kotlin.Long, vararg other: kotlin.Long): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.Short, b: kotlin.Short): kotlin.Short
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.Short, b: kotlin.Short, c: kotlin.Short): kotlin.Short
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun maxOf(a: kotlin.Short, vararg other: kotlin.Short): kotlin.Short
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun maxOf(a: kotlin.UByte, b: kotlin.UByte): kotlin.UByte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.UByte, b: kotlin.UByte, c: kotlin.UByte): kotlin.UByte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun maxOf(a: kotlin.UByte, vararg other: kotlin.UByte): kotlin.UByte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun maxOf(a: kotlin.UInt, b: kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.UInt, b: kotlin.UInt, c: kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun maxOf(a: kotlin.UInt, vararg other: kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun maxOf(a: kotlin.ULong, b: kotlin.ULong): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.ULong, b: kotlin.ULong, c: kotlin.ULong): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun maxOf(a: kotlin.ULong, vararg other: kotlin.ULong): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun maxOf(a: kotlin.UShort, b: kotlin.UShort): kotlin.UShort
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun maxOf(a: kotlin.UShort, b: kotlin.UShort, c: kotlin.UShort): kotlin.UShort
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun maxOf(a: kotlin.UShort, vararg other: kotlin.UShort): kotlin.UShort
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun <T : kotlin.Comparable<T>> minOf(a: T, b: T): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun <T : kotlin.Comparable<T>> minOf(a: T, b: T, c: T): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun <T> minOf(a: T, b: T, c: T, comparator: kotlin.Comparator<in T>): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun <T> minOf(a: T, b: T, comparator: kotlin.Comparator<in T>): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun <T : kotlin.Comparable<T>> minOf(a: T, vararg other: T): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun <T> minOf(a: T, vararg other: T, comparator: kotlin.Comparator<in T>): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.Byte, b: kotlin.Byte): kotlin.Byte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.Byte, b: kotlin.Byte, c: kotlin.Byte): kotlin.Byte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun minOf(a: kotlin.Byte, vararg other: kotlin.Byte): kotlin.Byte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.Double, b: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.Double, b: kotlin.Double, c: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun minOf(a: kotlin.Double, vararg other: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.Float, b: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.Float, b: kotlin.Float, c: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun minOf(a: kotlin.Float, vararg other: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.Int, b: kotlin.Int): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.Int, b: kotlin.Int, c: kotlin.Int): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun minOf(a: kotlin.Int, vararg other: kotlin.Int): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public inline fun minOf(a: kotlin.Long, b: kotlin.Long): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.Long, b: kotlin.Long, c: kotlin.Long): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun minOf(a: kotlin.Long, vararg other: kotlin.Long): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.Short, b: kotlin.Short): kotlin.Short
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.Short, b: kotlin.Short, c: kotlin.Short): kotlin.Short
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun minOf(a: kotlin.Short, vararg other: kotlin.Short): kotlin.Short
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun minOf(a: kotlin.UByte, b: kotlin.UByte): kotlin.UByte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.UByte, b: kotlin.UByte, c: kotlin.UByte): kotlin.UByte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun minOf(a: kotlin.UByte, vararg other: kotlin.UByte): kotlin.UByte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun minOf(a: kotlin.UInt, b: kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.UInt, b: kotlin.UInt, c: kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun minOf(a: kotlin.UInt, vararg other: kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun minOf(a: kotlin.ULong, b: kotlin.ULong): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.ULong, b: kotlin.ULong, c: kotlin.ULong): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun minOf(a: kotlin.ULong, vararg other: kotlin.ULong): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun minOf(a: kotlin.UShort, b: kotlin.UShort): kotlin.UShort
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun minOf(a: kotlin.UShort, b: kotlin.UShort, c: kotlin.UShort): kotlin.UShort
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun minOf(a: kotlin.UShort, vararg other: kotlin.UShort): kotlin.UShort
|
||||
|
||||
public fun <T : kotlin.Comparable<T>> naturalOrder(): kotlin.Comparator<T>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T : kotlin.Comparable<T>> nullsFirst(): kotlin.Comparator<T?>
|
||||
|
||||
public fun <T : kotlin.Any> nullsFirst(comparator: kotlin.Comparator<in T>): kotlin.Comparator<T?>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T : kotlin.Comparable<T>> nullsLast(): kotlin.Comparator<T?>
|
||||
|
||||
public fun <T : kotlin.Any> nullsLast(comparator: kotlin.Comparator<in T>): kotlin.Comparator<T?>
|
||||
|
||||
public fun <T : kotlin.Comparable<T>> reverseOrder(): kotlin.Comparator<T>
|
||||
|
||||
public fun <T> kotlin.Comparator<T>.reversed(): kotlin.Comparator<T>
|
||||
|
||||
public infix fun <T> kotlin.Comparator<T>.then(comparator: kotlin.Comparator<in T>): kotlin.Comparator<T>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.Comparator<T>.thenBy(crossinline selector: (T) -> kotlin.Comparable<*>?): kotlin.Comparator<T>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T, K> kotlin.Comparator<T>.thenBy(comparator: kotlin.Comparator<in K>, crossinline selector: (T) -> K): kotlin.Comparator<T>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.Comparator<T>.thenByDescending(crossinline selector: (T) -> kotlin.Comparable<*>?): kotlin.Comparator<T>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T, K> kotlin.Comparator<T>.thenByDescending(comparator: kotlin.Comparator<in K>, crossinline selector: (T) -> K): kotlin.Comparator<T>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.Comparator<T>.thenComparator(crossinline comparison: (a: T, b: T) -> kotlin.Int): kotlin.Comparator<T>
|
||||
|
||||
public infix fun <T> kotlin.Comparator<T>.thenDescending(comparator: kotlin.Comparator<in T>): kotlin.Comparator<T>
|
||||
@@ -0,0 +1,87 @@
|
||||
@kotlin.internal.ContractsDsl
|
||||
@kotlin.contracts.ExperimentalContracts
|
||||
@kotlin.internal.InlineOnly
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public inline fun contract(builder: kotlin.contracts.ContractBuilder.() -> kotlin.Unit): kotlin.Unit
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
@kotlin.contracts.ExperimentalContracts
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public interface CallsInPlace : kotlin.contracts.Effect {
|
||||
}
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
@kotlin.contracts.ExperimentalContracts
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public interface ConditionalEffect : kotlin.contracts.Effect {
|
||||
}
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
@kotlin.contracts.ExperimentalContracts
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public interface ContractBuilder {
|
||||
@kotlin.internal.ContractsDsl
|
||||
public abstract fun <R> callsInPlace(lambda: kotlin.Function<R>, kind: kotlin.contracts.InvocationKind = ...): kotlin.contracts.CallsInPlace
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
public abstract fun returns(): kotlin.contracts.Returns
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
public abstract fun returns(value: kotlin.Any?): kotlin.contracts.Returns
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
public abstract fun returnsNotNull(): kotlin.contracts.ReturnsNotNull
|
||||
}
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
@kotlin.contracts.ExperimentalContracts
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public interface Effect {
|
||||
}
|
||||
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.Experimental
|
||||
@kotlin.RequiresOptIn
|
||||
@kotlin.annotation.MustBeDocumented
|
||||
public final annotation class ExperimentalContracts : kotlin.Annotation {
|
||||
public constructor ExperimentalContracts()
|
||||
}
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
@kotlin.contracts.ExperimentalContracts
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public final enum class InvocationKind : kotlin.Enum<kotlin.contracts.InvocationKind> {
|
||||
@kotlin.internal.ContractsDsl
|
||||
enum entry AT_MOST_ONCE
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
enum entry AT_LEAST_ONCE
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
enum entry EXACTLY_ONCE
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
enum entry UNKNOWN
|
||||
}
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
@kotlin.contracts.ExperimentalContracts
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public interface Returns : kotlin.contracts.SimpleEffect {
|
||||
}
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
@kotlin.contracts.ExperimentalContracts
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public interface ReturnsNotNull : kotlin.contracts.SimpleEffect {
|
||||
}
|
||||
|
||||
@kotlin.internal.ContractsDsl
|
||||
@kotlin.contracts.ExperimentalContracts
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public interface SimpleEffect : kotlin.contracts.Effect {
|
||||
@kotlin.internal.ContractsDsl
|
||||
@kotlin.contracts.ExperimentalContracts
|
||||
public abstract infix fun implies(booleanExpression: kotlin.Boolean): kotlin.contracts.ConditionalEffect
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public val COROUTINE_SUSPENDED: kotlin.Any { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public suspend inline fun <T> suspendCoroutineUninterceptedOrReturn(crossinline block: (kotlin.coroutines.Continuation<T>) -> kotlin.Any?): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun <T> (suspend () -> T).createCoroutineUnintercepted(completion: kotlin.coroutines.Continuation<T>): kotlin.coroutines.Continuation<kotlin.Unit>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun <R, T> (suspend R.() -> T).createCoroutineUnintercepted(receiver: R, completion: kotlin.coroutines.Continuation<T>): kotlin.coroutines.Continuation<kotlin.Unit>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun <T> kotlin.coroutines.Continuation<T>.intercepted(): kotlin.coroutines.Continuation<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> (suspend () -> T).startCoroutineUninterceptedOrReturn(completion: kotlin.coroutines.Continuation<T>): kotlin.Any?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <R, T> (suspend R.() -> T).startCoroutineUninterceptedOrReturn(receiver: R, completion: kotlin.coroutines.Continuation<T>): kotlin.Any?
|
||||
@@ -0,0 +1,119 @@
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public val coroutineContext: kotlin.coroutines.CoroutineContext { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> Continuation(context: kotlin.coroutines.CoroutineContext, crossinline resumeWith: (kotlin.Result<T>) -> kotlin.Unit): kotlin.coroutines.Continuation<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public suspend inline fun <T> suspendCoroutine(crossinline block: (kotlin.coroutines.Continuation<T>) -> kotlin.Unit): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun <T> (suspend () -> T).createCoroutine(completion: kotlin.coroutines.Continuation<T>): kotlin.coroutines.Continuation<kotlin.Unit>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun <R, T> (suspend R.() -> T).createCoroutine(receiver: R, completion: kotlin.coroutines.Continuation<T>): kotlin.coroutines.Continuation<kotlin.Unit>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
public fun <E : kotlin.coroutines.CoroutineContext.Element> kotlin.coroutines.CoroutineContext.Element.getPolymorphicElement(key: kotlin.coroutines.CoroutineContext.Key<E>): E?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
public fun kotlin.coroutines.CoroutineContext.Element.minusPolymorphicKey(key: kotlin.coroutines.CoroutineContext.Key<*>): kotlin.coroutines.CoroutineContext
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.coroutines.Continuation<T>.resume(value: T): kotlin.Unit
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.coroutines.Continuation<T>.resumeWithException(exception: kotlin.Throwable): kotlin.Unit
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun <T> (suspend () -> T).startCoroutine(completion: kotlin.coroutines.Continuation<T>): kotlin.Unit
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun <R, T> (suspend R.() -> T).startCoroutine(receiver: R, completion: kotlin.coroutines.Continuation<T>): kotlin.Unit
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public abstract class AbstractCoroutineContextElement : kotlin.coroutines.CoroutineContext.Element {
|
||||
public constructor AbstractCoroutineContextElement(key: kotlin.coroutines.CoroutineContext.Key<*>)
|
||||
|
||||
public open override val key: kotlin.coroutines.CoroutineContext.Key<*> { get; }
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
public abstract class AbstractCoroutineContextKey<B : kotlin.coroutines.CoroutineContext.Element, E : B> : kotlin.coroutines.CoroutineContext.Key<E> {
|
||||
public constructor AbstractCoroutineContextKey<B : kotlin.coroutines.CoroutineContext.Element, E : B>(baseKey: kotlin.coroutines.CoroutineContext.Key<B>, safeCast: (element: kotlin.coroutines.CoroutineContext.Element) -> E?)
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public interface Continuation<in T> {
|
||||
public abstract val context: kotlin.coroutines.CoroutineContext { get; }
|
||||
|
||||
public abstract fun resumeWith(result: kotlin.Result<T>): kotlin.Unit
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public interface ContinuationInterceptor : kotlin.coroutines.CoroutineContext.Element {
|
||||
public open override operator fun <E : kotlin.coroutines.CoroutineContext.Element> get(key: kotlin.coroutines.CoroutineContext.Key<E>): E?
|
||||
|
||||
public abstract fun <T> interceptContinuation(continuation: kotlin.coroutines.Continuation<T>): kotlin.coroutines.Continuation<T>
|
||||
|
||||
public open override fun minusKey(key: kotlin.coroutines.CoroutineContext.Key<*>): kotlin.coroutines.CoroutineContext
|
||||
|
||||
public open fun releaseInterceptedContinuation(continuation: kotlin.coroutines.Continuation<*>): kotlin.Unit
|
||||
|
||||
public companion object of ContinuationInterceptor Key : kotlin.coroutines.CoroutineContext.Key<kotlin.coroutines.ContinuationInterceptor> {
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public interface CoroutineContext {
|
||||
public abstract fun <R> fold(initial: R, operation: (R, kotlin.coroutines.CoroutineContext.Element) -> R): R
|
||||
|
||||
public abstract operator fun <E : kotlin.coroutines.CoroutineContext.Element> get(key: kotlin.coroutines.CoroutineContext.Key<E>): E?
|
||||
|
||||
public abstract fun minusKey(key: kotlin.coroutines.CoroutineContext.Key<*>): kotlin.coroutines.CoroutineContext
|
||||
|
||||
public open operator fun plus(context: kotlin.coroutines.CoroutineContext): kotlin.coroutines.CoroutineContext
|
||||
|
||||
public interface Element : kotlin.coroutines.CoroutineContext {
|
||||
public abstract val key: kotlin.coroutines.CoroutineContext.Key<*> { get; }
|
||||
|
||||
public open override fun <R> fold(initial: R, operation: (R, kotlin.coroutines.CoroutineContext.Element) -> R): R
|
||||
|
||||
public open override operator fun <E : kotlin.coroutines.CoroutineContext.Element> get(key: kotlin.coroutines.CoroutineContext.Key<E>): E?
|
||||
|
||||
public open override fun minusKey(key: kotlin.coroutines.CoroutineContext.Key<*>): kotlin.coroutines.CoroutineContext
|
||||
}
|
||||
|
||||
public interface Key<E : kotlin.coroutines.CoroutineContext.Element> {
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public object EmptyCoroutineContext : kotlin.coroutines.CoroutineContext, kotlin.io.Serializable {
|
||||
public open override fun <R> fold(initial: R, operation: (R, kotlin.coroutines.CoroutineContext.Element) -> R): R
|
||||
|
||||
public open override operator fun <E : kotlin.coroutines.CoroutineContext.Element> get(key: kotlin.coroutines.CoroutineContext.Key<E>): E?
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public open override fun minusKey(key: kotlin.coroutines.CoroutineContext.Key<*>): kotlin.coroutines.CoroutineContext
|
||||
|
||||
public open override operator fun plus(context: kotlin.coroutines.CoroutineContext): kotlin.coroutines.CoroutineContext
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS})
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
public final annotation class RestrictsSuspension : kotlin.Annotation {
|
||||
public constructor RestrictsSuspension()
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
public val org.w3c.dom.Node.isElement: kotlin.Boolean { get; }
|
||||
|
||||
public val org.w3c.dom.Node.isText: kotlin.Boolean { get; }
|
||||
|
||||
public fun org.w3c.dom.Element.addClass(vararg cssClasses: kotlin.String): kotlin.Boolean
|
||||
|
||||
public fun org.w3c.dom.Element.appendElement(name: kotlin.String, init: org.w3c.dom.Element.() -> kotlin.Unit): org.w3c.dom.Element
|
||||
|
||||
public fun org.w3c.dom.Element.appendText(text: kotlin.String): org.w3c.dom.Element
|
||||
|
||||
public fun org.w3c.dom.Node.clear(): kotlin.Unit
|
||||
|
||||
public fun org.w3c.dom.Document.createElement(name: kotlin.String, init: org.w3c.dom.Element.() -> kotlin.Unit): org.w3c.dom.Element
|
||||
|
||||
public fun org.w3c.dom.Element.hasClass(cssClass: kotlin.String): kotlin.Boolean
|
||||
|
||||
public fun org.w3c.dom.Element.removeClass(vararg cssClasses: kotlin.String): kotlin.Boolean
|
||||
@@ -0,0 +1,41 @@
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline infix fun kotlin.Byte.and(other: kotlin.Byte): kotlin.Byte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline infix fun kotlin.Short.and(other: kotlin.Short): kotlin.Short
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.Byte.inv(): kotlin.Byte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.Short.inv(): kotlin.Short
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline infix fun kotlin.Byte.or(other: kotlin.Byte): kotlin.Byte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline infix fun kotlin.Short.or(other: kotlin.Short): kotlin.Short
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline infix fun kotlin.Byte.xor(other: kotlin.Byte): kotlin.Byte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline infix fun kotlin.Short.xor(other: kotlin.Short): kotlin.Short
|
||||
|
||||
@kotlin.Experimental(level = Level.ERROR)
|
||||
@kotlin.RequiresOptIn(level = Level.ERROR)
|
||||
@kotlin.annotation.MustBeDocumented
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.ANNOTATION_CLASS})
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public final annotation class ExperimentalTypeInference : kotlin.Annotation {
|
||||
public constructor ExperimentalTypeInference()
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public fun print(message: kotlin.Any?): kotlin.Unit
|
||||
|
||||
public fun println(): kotlin.Unit
|
||||
|
||||
public fun println(message: kotlin.Any?): kotlin.Unit
|
||||
@@ -0,0 +1,430 @@
|
||||
public external val console: kotlin.js.Console { get; }
|
||||
|
||||
public external val definedExternally: kotlin.Nothing { get; }
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use `definedExternally` instead", replaceWith = kotlin.ReplaceWith(expression = "definedExternally", imports = {}))
|
||||
public external val noImpl: kotlin.Nothing { get; }
|
||||
|
||||
public external val undefined: kotlin.Nothing? { get; }
|
||||
|
||||
public val <T : kotlin.Any> kotlin.reflect.KClass<T>.js: kotlin.js.JsClass<T> { get; }
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use class literal and extension property `js` instead.", replaceWith = kotlin.ReplaceWith(expression = "this::class.js", imports = {}))
|
||||
public val <T : kotlin.Any> T.jsClass: kotlin.js.JsClass<T> { get; }
|
||||
|
||||
public val <T : kotlin.Any> kotlin.js.JsClass<T>.kotlin: kotlin.reflect.KClass<T> { get; }
|
||||
|
||||
public inline fun dateLocaleOptions(init: kotlin.js.Date.LocaleOptions.() -> kotlin.Unit): kotlin.js.Date.LocaleOptions
|
||||
|
||||
public external fun eval(expr: kotlin.String): dynamic
|
||||
|
||||
public external fun js(code: kotlin.String): dynamic
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use class literal and extension property `js` instead.", replaceWith = kotlin.ReplaceWith(expression = "T::class.js", imports = {}))
|
||||
public external fun <T : kotlin.Any> jsClass(): kotlin.js.JsClass<T>
|
||||
|
||||
/*∆*/ public fun jsTypeOf(value_hack: kotlin.Any?): kotlin.String
|
||||
|
||||
public fun json(vararg pairs: kotlin.Pair<kotlin.String, kotlin.Any?>): kotlin.js.Json
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use toDouble() instead.", replaceWith = kotlin.ReplaceWith(expression = "s.toDouble()", imports = {}))
|
||||
public external fun parseFloat(s: kotlin.String, radix: kotlin.Int = ...): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use toInt() instead.", replaceWith = kotlin.ReplaceWith(expression = "s.toInt()", imports = {}))
|
||||
public external fun parseInt(s: kotlin.String): kotlin.Int
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use toInt(radix) instead.", replaceWith = kotlin.ReplaceWith(expression = "s.toInt(radix)", imports = {}))
|
||||
public external fun parseInt(s: kotlin.String, radix: kotlin.Int = ...): kotlin.Int
|
||||
|
||||
public fun kotlin.js.Json.add(other: kotlin.js.Json): kotlin.js.Json
|
||||
|
||||
public inline fun kotlin.js.RegExpMatch.asArray(): kotlin.Array<out kotlin.String?>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.Any?.asDynamic(): dynamic
|
||||
|
||||
public inline operator fun kotlin.js.RegExpMatch.get(index: kotlin.Int): kotlin.String?
|
||||
|
||||
@kotlin.internal.DynamicExtension
|
||||
public operator fun dynamic.iterator(): kotlin.collections.Iterator<dynamic>
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use maxOf or kotlin.math.max instead", replaceWith = kotlin.ReplaceWith(expression = "maxOf(a, b)", imports = {}))
|
||||
public fun kotlin.js.Math.max(a: kotlin.Long, b: kotlin.Long): kotlin.Long
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use minOf or kotlin.math.min instead", replaceWith = kotlin.ReplaceWith(expression = "minOf(a, b)", imports = {}))
|
||||
public fun kotlin.js.Math.min(a: kotlin.Long, b: kotlin.Long): kotlin.Long
|
||||
|
||||
public fun kotlin.js.RegExp.reset(): kotlin.Unit
|
||||
|
||||
public inline fun <T, S> kotlin.js.Promise<kotlin.js.Promise<T>>.then(noinline onFulfilled: ((T) -> S)?): kotlin.js.Promise<S>
|
||||
|
||||
public inline fun <T, S> kotlin.js.Promise<kotlin.js.Promise<T>>.then(noinline onFulfilled: ((T) -> S)?, noinline onRejected: ((kotlin.Throwable) -> S)?): kotlin.js.Promise<S>
|
||||
|
||||
@kotlin.internal.DynamicExtension
|
||||
@kotlin.js.JsName(name = "unsafeCastDynamic")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> dynamic.unsafeCast(): T
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.Any?.unsafeCast(): T
|
||||
|
||||
public external interface Console {
|
||||
public abstract fun dir(o: kotlin.Any): kotlin.Unit
|
||||
|
||||
public abstract fun error(vararg o: kotlin.Any?): kotlin.Unit
|
||||
|
||||
public abstract fun info(vararg o: kotlin.Any?): kotlin.Unit
|
||||
|
||||
public abstract fun log(vararg o: kotlin.Any?): kotlin.Unit
|
||||
|
||||
public abstract fun warn(vararg o: kotlin.Any?): kotlin.Unit
|
||||
}
|
||||
|
||||
public final external class Date {
|
||||
public constructor Date()
|
||||
|
||||
public constructor Date(year: kotlin.Int, month: kotlin.Int)
|
||||
|
||||
public constructor Date(year: kotlin.Int, month: kotlin.Int, day: kotlin.Int)
|
||||
|
||||
public constructor Date(year: kotlin.Int, month: kotlin.Int, day: kotlin.Int, hour: kotlin.Int)
|
||||
|
||||
public constructor Date(year: kotlin.Int, month: kotlin.Int, day: kotlin.Int, hour: kotlin.Int, minute: kotlin.Int)
|
||||
|
||||
public constructor Date(year: kotlin.Int, month: kotlin.Int, day: kotlin.Int, hour: kotlin.Int, minute: kotlin.Int, second: kotlin.Int)
|
||||
|
||||
public constructor Date(year: kotlin.Int, month: kotlin.Int, day: kotlin.Int, hour: kotlin.Int, minute: kotlin.Int, second: kotlin.Int, millisecond: kotlin.Number)
|
||||
|
||||
public constructor Date(milliseconds: kotlin.Number)
|
||||
|
||||
public constructor Date(dateString: kotlin.String)
|
||||
|
||||
public final fun getDate(): kotlin.Int
|
||||
|
||||
public final fun getDay(): kotlin.Int
|
||||
|
||||
public final fun getFullYear(): kotlin.Int
|
||||
|
||||
public final fun getHours(): kotlin.Int
|
||||
|
||||
public final fun getMilliseconds(): kotlin.Int
|
||||
|
||||
public final fun getMinutes(): kotlin.Int
|
||||
|
||||
public final fun getMonth(): kotlin.Int
|
||||
|
||||
public final fun getSeconds(): kotlin.Int
|
||||
|
||||
public final fun getTime(): kotlin.Double
|
||||
|
||||
public final fun getTimezoneOffset(): kotlin.Int
|
||||
|
||||
public final fun getUTCDate(): kotlin.Int
|
||||
|
||||
public final fun getUTCDay(): kotlin.Int
|
||||
|
||||
public final fun getUTCFullYear(): kotlin.Int
|
||||
|
||||
public final fun getUTCHours(): kotlin.Int
|
||||
|
||||
public final fun getUTCMilliseconds(): kotlin.Int
|
||||
|
||||
public final fun getUTCMinutes(): kotlin.Int
|
||||
|
||||
public final fun getUTCMonth(): kotlin.Int
|
||||
|
||||
public final fun getUTCSeconds(): kotlin.Int
|
||||
|
||||
public final fun toDateString(): kotlin.String
|
||||
|
||||
public final fun toISOString(): kotlin.String
|
||||
|
||||
public final fun toJSON(): kotlin.js.Json
|
||||
|
||||
public final fun toLocaleDateString(locales: kotlin.Array<kotlin.String> = ..., options: kotlin.js.Date.LocaleOptions = ...): kotlin.String
|
||||
|
||||
public final fun toLocaleDateString(locales: kotlin.String, options: kotlin.js.Date.LocaleOptions = ...): kotlin.String
|
||||
|
||||
public final fun toLocaleString(locales: kotlin.Array<kotlin.String> = ..., options: kotlin.js.Date.LocaleOptions = ...): kotlin.String
|
||||
|
||||
public final fun toLocaleString(locales: kotlin.String, options: kotlin.js.Date.LocaleOptions = ...): kotlin.String
|
||||
|
||||
public final fun toLocaleTimeString(locales: kotlin.Array<kotlin.String> = ..., options: kotlin.js.Date.LocaleOptions = ...): kotlin.String
|
||||
|
||||
public final fun toLocaleTimeString(locales: kotlin.String, options: kotlin.js.Date.LocaleOptions = ...): kotlin.String
|
||||
|
||||
public final fun toTimeString(): kotlin.String
|
||||
|
||||
public final fun toUTCString(): kotlin.String
|
||||
|
||||
public companion object of Date {
|
||||
public final fun UTC(year: kotlin.Int, month: kotlin.Int): kotlin.Double
|
||||
|
||||
public final fun UTC(year: kotlin.Int, month: kotlin.Int, day: kotlin.Int): kotlin.Double
|
||||
|
||||
public final fun UTC(year: kotlin.Int, month: kotlin.Int, day: kotlin.Int, hour: kotlin.Int): kotlin.Double
|
||||
|
||||
public final fun UTC(year: kotlin.Int, month: kotlin.Int, day: kotlin.Int, hour: kotlin.Int, minute: kotlin.Int): kotlin.Double
|
||||
|
||||
public final fun UTC(year: kotlin.Int, month: kotlin.Int, day: kotlin.Int, hour: kotlin.Int, minute: kotlin.Int, second: kotlin.Int): kotlin.Double
|
||||
|
||||
public final fun UTC(year: kotlin.Int, month: kotlin.Int, day: kotlin.Int, hour: kotlin.Int, minute: kotlin.Int, second: kotlin.Int, millisecond: kotlin.Number): kotlin.Double
|
||||
|
||||
public final fun now(): kotlin.Double
|
||||
|
||||
public final fun parse(dateString: kotlin.String): kotlin.Double
|
||||
}
|
||||
|
||||
public interface LocaleOptions {
|
||||
public abstract var day: kotlin.String? { get; set; }
|
||||
|
||||
public abstract var era: kotlin.String? { get; set; }
|
||||
|
||||
public abstract var formatMatcher: kotlin.String? { get; set; }
|
||||
|
||||
public abstract var hour: kotlin.String? { get; set; }
|
||||
|
||||
public abstract var hour12: kotlin.Boolean? { get; set; }
|
||||
|
||||
public abstract var localeMatcher: kotlin.String? { get; set; }
|
||||
|
||||
public abstract var minute: kotlin.String? { get; set; }
|
||||
|
||||
public abstract var month: kotlin.String? { get; set; }
|
||||
|
||||
public abstract var second: kotlin.String? { get; set; }
|
||||
|
||||
public abstract var timeZone: kotlin.String? { get; set; }
|
||||
|
||||
public abstract var timeZoneName: kotlin.String? { get; set; }
|
||||
|
||||
public abstract var weekday: kotlin.String? { get; set; }
|
||||
|
||||
public abstract var year: kotlin.String? { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Experimental(level = Level.WARNING)
|
||||
@kotlin.RequiresOptIn(level = Level.WARNING)
|
||||
@kotlin.annotation.MustBeDocumented
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public final annotation class ExperimentalJsExport : kotlin.Annotation {
|
||||
public constructor ExperimentalJsExport()
|
||||
}
|
||||
|
||||
public external object JSON {
|
||||
public final fun <T> parse(text: kotlin.String): T
|
||||
|
||||
public final fun <T> parse(text: kotlin.String, reviver: (key: kotlin.String, value: kotlin.Any?) -> kotlin.Any?): T
|
||||
|
||||
public final fun stringify(o: kotlin.Any?): kotlin.String
|
||||
|
||||
public final fun stringify(o: kotlin.Any?, replacer: ((key: kotlin.String, value: kotlin.Any?) -> kotlin.Any?)? = ..., space: kotlin.Int): kotlin.String
|
||||
|
||||
public final fun stringify(o: kotlin.Any?, replacer: ((key: kotlin.String, value: kotlin.Any?) -> kotlin.Any?)? = ..., space: kotlin.String): kotlin.String
|
||||
|
||||
public final fun stringify(o: kotlin.Any?, replacer: (key: kotlin.String, value: kotlin.Any?) -> kotlin.Any?): kotlin.String
|
||||
|
||||
public final fun stringify(o: kotlin.Any?, replacer: kotlin.Array<kotlin.String>): kotlin.String
|
||||
|
||||
public final fun stringify(o: kotlin.Any?, replacer: kotlin.Array<kotlin.String>, space: kotlin.Int): kotlin.String
|
||||
|
||||
public final fun stringify(o: kotlin.Any?, replacer: kotlin.Array<kotlin.String>, space: kotlin.String): kotlin.String
|
||||
}
|
||||
|
||||
public external interface JsClass<T : kotlin.Any> {
|
||||
public abstract val name: kotlin.String { get; }
|
||||
}
|
||||
|
||||
@kotlin.js.ExperimentalJsExport
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION, AnnotationTarget.FILE})
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public final annotation class JsExport : kotlin.Annotation {
|
||||
public constructor JsExport()
|
||||
}
|
||||
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION, AnnotationTarget.FILE})
|
||||
public final annotation class JsModule : kotlin.Annotation {
|
||||
public constructor JsModule(import: kotlin.String)
|
||||
|
||||
public final val import: kotlin.String { get; }
|
||||
}
|
||||
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER})
|
||||
public final annotation class JsName : kotlin.Annotation {
|
||||
public constructor JsName(name: kotlin.String)
|
||||
|
||||
public final val name: kotlin.String { get; }
|
||||
}
|
||||
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION, AnnotationTarget.FILE})
|
||||
public final annotation class JsNonModule : kotlin.Annotation {
|
||||
public constructor JsNonModule()
|
||||
}
|
||||
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FILE})
|
||||
public final annotation class JsQualifier : kotlin.Annotation {
|
||||
public constructor JsQualifier(value: kotlin.String)
|
||||
|
||||
public final val value: kotlin.String { get; }
|
||||
}
|
||||
|
||||
public external interface Json {
|
||||
public abstract operator fun get(propertyName: kotlin.String): kotlin.Any?
|
||||
|
||||
public abstract operator fun set(propertyName: kotlin.String, value: kotlin.Any?): kotlin.Unit
|
||||
}
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "Use top-level functions from kotlin.math package instead.")
|
||||
public external object Math {
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.PI instead.", replaceWith = kotlin.ReplaceWith(expression = "PI", imports = {"kotlin.math.PI"}))
|
||||
public final val PI: kotlin.Double { get; }
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.abs instead.", replaceWith = kotlin.ReplaceWith(expression = "abs(value)", imports = {"kotlin.math.abs"}))
|
||||
public final fun abs(value: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.acos instead.", replaceWith = kotlin.ReplaceWith(expression = "acos(value)", imports = {"kotlin.math.acos"}))
|
||||
public final fun acos(value: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.asin instead.", replaceWith = kotlin.ReplaceWith(expression = "asin(value)", imports = {"kotlin.math.asin"}))
|
||||
public final fun asin(value: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.atan instead.", replaceWith = kotlin.ReplaceWith(expression = "atan(value)", imports = {"kotlin.math.atan"}))
|
||||
public final fun atan(value: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.atan2 instead.", replaceWith = kotlin.ReplaceWith(expression = "atan2(y, x)", imports = {"kotlin.math.atan2"}))
|
||||
public final fun atan2(y: kotlin.Double, x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.ceil instead.", replaceWith = kotlin.ReplaceWith(expression = "ceil(value)", imports = {"kotlin.math.ceil"}))
|
||||
public final fun ceil(value: kotlin.Number): kotlin.Int
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.cos instead.", replaceWith = kotlin.ReplaceWith(expression = "cos(value)", imports = {"kotlin.math.cos"}))
|
||||
public final fun cos(value: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.exp instead.", replaceWith = kotlin.ReplaceWith(expression = "exp(value)", imports = {"kotlin.math.exp"}))
|
||||
public final fun exp(value: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.floor instead.", replaceWith = kotlin.ReplaceWith(expression = "floor(value)", imports = {"kotlin.math.floor"}))
|
||||
public final fun floor(value: kotlin.Number): kotlin.Int
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.ln instead.", replaceWith = kotlin.ReplaceWith(expression = "ln(value)", imports = {"kotlin.math.ln"}))
|
||||
public final fun log(value: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use maxOf or kotlin.math.max instead")
|
||||
public final fun max(vararg values: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use maxOf or kotlin.math.max instead")
|
||||
public final fun max(vararg values: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use maxOf or kotlin.math.max instead")
|
||||
public final fun max(vararg values: kotlin.Int): kotlin.Int
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use minOf or kotlin.math.min instead")
|
||||
public final fun min(vararg values: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use minOf or kotlin.math.min instead")
|
||||
public final fun min(vararg values: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use minOf or kotlin.math.min instead")
|
||||
public final fun min(vararg values: kotlin.Int): kotlin.Int
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.pow instead.", replaceWith = kotlin.ReplaceWith(expression = "base.pow(exp)", imports = {"kotlin.math.pow"}))
|
||||
public final fun pow(base: kotlin.Double, exp: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "Use Random.nextDouble instead", replaceWith = kotlin.ReplaceWith(expression = "kotlin.random.Random.nextDouble()", imports = {"kotlin.random.Random"}))
|
||||
public final fun random(): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.round instead.", replaceWith = kotlin.ReplaceWith(expression = "round(value)", imports = {"kotlin.math.round"}))
|
||||
public final fun round(value: kotlin.Number): kotlin.Int
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.sin instead.", replaceWith = kotlin.ReplaceWith(expression = "sin(value)", imports = {"kotlin.math.sin"}))
|
||||
public final fun sin(value: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.sqrt instead.", replaceWith = kotlin.ReplaceWith(expression = "sqrt(value)", imports = {"kotlin.math.sqrt"}))
|
||||
public final fun sqrt(value: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.tan instead.", replaceWith = kotlin.ReplaceWith(expression = "tan(value)", imports = {"kotlin.math.tan"}))
|
||||
public final fun tan(value: kotlin.Double): kotlin.Double
|
||||
}
|
||||
|
||||
public open external class Promise<out T> {
|
||||
public constructor Promise<out T>(executor: (resolve: (T) -> kotlin.Unit, reject: (kotlin.Throwable) -> kotlin.Unit) -> kotlin.Unit)
|
||||
|
||||
public open fun <S> catch(onRejected: (kotlin.Throwable) -> S): kotlin.js.Promise<S>
|
||||
|
||||
@kotlin.internal.LowPriorityInOverloadResolution
|
||||
public open fun <S> then(onFulfilled: ((T) -> S)?): kotlin.js.Promise<S>
|
||||
|
||||
@kotlin.internal.LowPriorityInOverloadResolution
|
||||
public open fun <S> then(onFulfilled: ((T) -> S)?, onRejected: ((kotlin.Throwable) -> S)?): kotlin.js.Promise<S>
|
||||
|
||||
public companion object of Promise {
|
||||
public final fun <S> all(promise: kotlin.Array<out kotlin.js.Promise<S>>): kotlin.js.Promise<kotlin.Array<out S>>
|
||||
|
||||
public final fun <S> race(promise: kotlin.Array<out kotlin.js.Promise<S>>): kotlin.js.Promise<S>
|
||||
|
||||
public final fun reject(e: kotlin.Throwable): kotlin.js.Promise<kotlin.Nothing>
|
||||
|
||||
public final fun <S> resolve(e: S): kotlin.js.Promise<S>
|
||||
|
||||
public final fun <S> resolve(e: kotlin.js.Promise<S>): kotlin.js.Promise<S>
|
||||
}
|
||||
}
|
||||
|
||||
public final external class RegExp {
|
||||
public constructor RegExp(pattern: kotlin.String, flags: kotlin.String? = ...)
|
||||
|
||||
public final val global: kotlin.Boolean { get; }
|
||||
|
||||
public final val ignoreCase: kotlin.Boolean { get; }
|
||||
|
||||
public final var lastIndex: kotlin.Int { get; set; }
|
||||
|
||||
public final val multiline: kotlin.Boolean { get; }
|
||||
|
||||
public final fun exec(str: kotlin.String): kotlin.js.RegExpMatch?
|
||||
|
||||
public final fun test(str: kotlin.String): kotlin.Boolean
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
public external interface RegExpMatch {
|
||||
public abstract val index: kotlin.Int { get; }
|
||||
|
||||
public abstract val input: kotlin.String { get; }
|
||||
|
||||
public abstract val length: kotlin.Int { get; }
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER})
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use `external` modifier instead")
|
||||
public final annotation class native : kotlin.Annotation {
|
||||
public constructor native(name: kotlin.String = ...)
|
||||
|
||||
public final val name: kotlin.String { get; }
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION})
|
||||
@kotlin.Deprecated(message = "Use inline extension function with body using dynamic")
|
||||
public final annotation class nativeGetter : kotlin.Annotation {
|
||||
public constructor nativeGetter()
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION})
|
||||
@kotlin.Deprecated(message = "Use inline extension function with body using dynamic")
|
||||
public final annotation class nativeInvoke : kotlin.Annotation {
|
||||
public constructor nativeInvoke()
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION})
|
||||
@kotlin.Deprecated(message = "Use inline extension function with body using dynamic")
|
||||
public final annotation class nativeSetter : kotlin.Annotation {
|
||||
public constructor nativeSetter()
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER})
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.SOURCE)
|
||||
public final annotation class Synchronized : kotlin.Annotation {
|
||||
public constructor Synchronized()
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FIELD})
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.SOURCE)
|
||||
public final annotation class Volatile : kotlin.Annotation {
|
||||
public constructor Volatile()
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,370 @@
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public const val E: kotlin.Double = 2.718281828459045.toDouble() { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public const val PI: kotlin.Double = 3.141592653589793.toDouble() { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public val kotlin.Double.absoluteValue: kotlin.Double { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public val kotlin.Float.absoluteValue: kotlin.Float { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public val kotlin.Int.absoluteValue: kotlin.Int { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public val kotlin.Long.absoluteValue: kotlin.Long { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public val kotlin.Double.sign: kotlin.Double { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public val kotlin.Float.sign: kotlin.Float { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public val kotlin.Int.sign: kotlin.Int { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public val kotlin.Long.sign: kotlin.Int { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public val kotlin.Double.ulp: kotlin.Double { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun abs(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun abs(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun abs(n: kotlin.Int): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun abs(n: kotlin.Long): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun acos(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun acos(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun acosh(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun acosh(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun asin(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun asin(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun asinh(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun asinh(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun atan(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun atan(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun atan2(y: kotlin.Double, x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun atan2(y: kotlin.Float, x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun atanh(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun atanh(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun ceil(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun ceil(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun cos(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun cos(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun cosh(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun cosh(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun exp(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun exp(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun expm1(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun expm1(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun floor(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun floor(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun hypot(x: kotlin.Double, y: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun hypot(x: kotlin.Float, y: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun ln(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun ln(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun ln1p(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun ln1p(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun log(x: kotlin.Double, base: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun log(x: kotlin.Float, base: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun log10(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun log10(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun log2(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun log2(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun max(a: kotlin.Double, b: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun max(a: kotlin.Float, b: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun max(a: kotlin.Int, b: kotlin.Int): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public inline fun max(a: kotlin.Long, b: kotlin.Long): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun max(a: kotlin.UInt, b: kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun max(a: kotlin.ULong, b: kotlin.ULong): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun min(a: kotlin.Double, b: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun min(a: kotlin.Float, b: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun min(a: kotlin.Int, b: kotlin.Int): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public inline fun min(a: kotlin.Long, b: kotlin.Long): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun min(a: kotlin.UInt, b: kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun min(a: kotlin.ULong, b: kotlin.ULong): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun round(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun round(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun sign(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun sign(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun sin(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun sin(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun sinh(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun sinh(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun sqrt(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun sqrt(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun tan(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun tan(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun tanh(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun tanh(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun truncate(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun truncate(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun kotlin.Double.nextDown(): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun kotlin.Double.nextTowards(to: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun kotlin.Double.nextUp(): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.Double.pow(x: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.Double.pow(n: kotlin.Int): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.Float.pow(x: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.Float.pow(n: kotlin.Int): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun kotlin.Double.roundToInt(): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.Float.roundToInt(): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun kotlin.Double.roundToLong(): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.Float.roundToLong(): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun kotlin.Double.withSign(sign: kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.Double.withSign(sign: kotlin.Int): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.Float.withSign(sign: kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.Float.withSign(sign: kotlin.Int): kotlin.Float
|
||||
@@ -0,0 +1,34 @@
|
||||
public object Delegates {
|
||||
public final fun <T : kotlin.Any> notNull(): kotlin.properties.ReadWriteProperty<kotlin.Any?, T>
|
||||
|
||||
public final inline fun <T> observable(initialValue: T, crossinline onChange: (property: kotlin.reflect.KProperty<*>, oldValue: T, newValue: T) -> kotlin.Unit): kotlin.properties.ReadWriteProperty<kotlin.Any?, T>
|
||||
|
||||
public final inline fun <T> vetoable(initialValue: T, crossinline onChange: (property: kotlin.reflect.KProperty<*>, oldValue: T, newValue: T) -> kotlin.Boolean): kotlin.properties.ReadWriteProperty<kotlin.Any?, T>
|
||||
}
|
||||
|
||||
public abstract class ObservableProperty<V> : kotlin.properties.ReadWriteProperty<kotlin.Any?, V> {
|
||||
public constructor ObservableProperty<V>(initialValue: V)
|
||||
|
||||
protected open fun afterChange(property: kotlin.reflect.KProperty<*>, oldValue: V, newValue: V): kotlin.Unit
|
||||
|
||||
protected open fun beforeChange(property: kotlin.reflect.KProperty<*>, oldValue: V, newValue: V): kotlin.Boolean
|
||||
|
||||
public open override operator fun getValue(thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): V
|
||||
|
||||
public open override operator fun setValue(thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>, value: V): kotlin.Unit
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public interface PropertyDelegateProvider<in T, out D> {
|
||||
public abstract operator fun provideDelegate(thisRef: T, property: kotlin.reflect.KProperty<*>): D
|
||||
}
|
||||
|
||||
public interface ReadOnlyProperty<in T, out V> {
|
||||
public abstract operator fun getValue(thisRef: T, property: kotlin.reflect.KProperty<*>): V
|
||||
}
|
||||
|
||||
public interface ReadWriteProperty<in T, V> : kotlin.properties.ReadOnlyProperty<T, V> {
|
||||
public abstract override operator fun getValue(thisRef: T, property: kotlin.reflect.KProperty<*>): V
|
||||
|
||||
public abstract operator fun setValue(thisRef: T, property: kotlin.reflect.KProperty<*>, value: V): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun Random(seed: kotlin.Int): kotlin.random.Random
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun Random(seed: kotlin.Long): kotlin.random.Random
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun kotlin.random.Random.nextInt(range: kotlin.ranges.IntRange): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun kotlin.random.Random.nextLong(range: kotlin.ranges.LongRange): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.random.Random.nextUBytes(size: kotlin.Int): kotlin.UByteArray
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.random.Random.nextUBytes(array: kotlin.UByteArray): kotlin.UByteArray
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.random.Random.nextUBytes(array: kotlin.UByteArray, fromIndex: kotlin.Int = ..., toIndex: kotlin.Int = ...): kotlin.UByteArray
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.random.Random.nextUInt(): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.random.Random.nextUInt(until: kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.random.Random.nextUInt(from: kotlin.UInt, until: kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.random.Random.nextUInt(range: kotlin.ranges.UIntRange): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.random.Random.nextULong(): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.random.Random.nextULong(until: kotlin.ULong): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.random.Random.nextULong(from: kotlin.ULong, until: kotlin.ULong): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.random.Random.nextULong(range: kotlin.ranges.ULongRange): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public abstract class Random {
|
||||
public constructor Random()
|
||||
|
||||
public abstract fun nextBits(bitCount: kotlin.Int): kotlin.Int
|
||||
|
||||
public open fun nextBoolean(): kotlin.Boolean
|
||||
|
||||
public open fun nextBytes(array: kotlin.ByteArray): kotlin.ByteArray
|
||||
|
||||
public open fun nextBytes(array: kotlin.ByteArray, fromIndex: kotlin.Int = ..., toIndex: kotlin.Int = ...): kotlin.ByteArray
|
||||
|
||||
public open fun nextBytes(size: kotlin.Int): kotlin.ByteArray
|
||||
|
||||
public open fun nextDouble(): kotlin.Double
|
||||
|
||||
public open fun nextDouble(until: kotlin.Double): kotlin.Double
|
||||
|
||||
public open fun nextDouble(from: kotlin.Double, until: kotlin.Double): kotlin.Double
|
||||
|
||||
public open fun nextFloat(): kotlin.Float
|
||||
|
||||
public open fun nextInt(): kotlin.Int
|
||||
|
||||
public open fun nextInt(until: kotlin.Int): kotlin.Int
|
||||
|
||||
public open fun nextInt(from: kotlin.Int, until: kotlin.Int): kotlin.Int
|
||||
|
||||
public open fun nextLong(): kotlin.Long
|
||||
|
||||
public open fun nextLong(until: kotlin.Long): kotlin.Long
|
||||
|
||||
public open fun nextLong(from: kotlin.Long, until: kotlin.Long): kotlin.Long
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Use Default companion object instead")
|
||||
public object Companion : kotlin.random.Random {
|
||||
public open override fun nextBits(bitCount: kotlin.Int): kotlin.Int
|
||||
}
|
||||
|
||||
public companion object of Random Default : kotlin.random.Random {
|
||||
@kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Use Default companion object instead")
|
||||
public final val Companion: kotlin.random.Random.Companion { get; }
|
||||
|
||||
public open override fun nextBits(bitCount: kotlin.Int): kotlin.Int
|
||||
|
||||
public open override fun nextBoolean(): kotlin.Boolean
|
||||
|
||||
public open override fun nextBytes(array: kotlin.ByteArray): kotlin.ByteArray
|
||||
|
||||
public open override fun nextBytes(array: kotlin.ByteArray, fromIndex: kotlin.Int = ..., toIndex: kotlin.Int = ...): kotlin.ByteArray
|
||||
|
||||
public open override fun nextBytes(size: kotlin.Int): kotlin.ByteArray
|
||||
|
||||
public open override fun nextDouble(): kotlin.Double
|
||||
|
||||
public open override fun nextDouble(until: kotlin.Double): kotlin.Double
|
||||
|
||||
public open override fun nextDouble(from: kotlin.Double, until: kotlin.Double): kotlin.Double
|
||||
|
||||
public open override fun nextFloat(): kotlin.Float
|
||||
|
||||
public open override fun nextInt(): kotlin.Int
|
||||
|
||||
public open override fun nextInt(until: kotlin.Int): kotlin.Int
|
||||
|
||||
public open override fun nextInt(from: kotlin.Int, until: kotlin.Int): kotlin.Int
|
||||
|
||||
public open override fun nextLong(): kotlin.Long
|
||||
|
||||
public open override fun nextLong(until: kotlin.Long): kotlin.Long
|
||||
|
||||
public open override fun nextLong(from: kotlin.Long, until: kotlin.Long): kotlin.Long
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,733 @@
|
||||
public fun <T : kotlin.Comparable<T>> T.coerceAtLeast(minimumValue: T): T
|
||||
|
||||
public fun kotlin.Byte.coerceAtLeast(minimumValue: kotlin.Byte): kotlin.Byte
|
||||
|
||||
public fun kotlin.Double.coerceAtLeast(minimumValue: kotlin.Double): kotlin.Double
|
||||
|
||||
public fun kotlin.Float.coerceAtLeast(minimumValue: kotlin.Float): kotlin.Float
|
||||
|
||||
public fun kotlin.Int.coerceAtLeast(minimumValue: kotlin.Int): kotlin.Int
|
||||
|
||||
public fun kotlin.Long.coerceAtLeast(minimumValue: kotlin.Long): kotlin.Long
|
||||
|
||||
public fun kotlin.Short.coerceAtLeast(minimumValue: kotlin.Short): kotlin.Short
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.UByte.coerceAtLeast(minimumValue: kotlin.UByte): kotlin.UByte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.UInt.coerceAtLeast(minimumValue: kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.ULong.coerceAtLeast(minimumValue: kotlin.ULong): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.UShort.coerceAtLeast(minimumValue: kotlin.UShort): kotlin.UShort
|
||||
|
||||
public fun <T : kotlin.Comparable<T>> T.coerceAtMost(maximumValue: T): T
|
||||
|
||||
public fun kotlin.Byte.coerceAtMost(maximumValue: kotlin.Byte): kotlin.Byte
|
||||
|
||||
public fun kotlin.Double.coerceAtMost(maximumValue: kotlin.Double): kotlin.Double
|
||||
|
||||
public fun kotlin.Float.coerceAtMost(maximumValue: kotlin.Float): kotlin.Float
|
||||
|
||||
public fun kotlin.Int.coerceAtMost(maximumValue: kotlin.Int): kotlin.Int
|
||||
|
||||
public fun kotlin.Long.coerceAtMost(maximumValue: kotlin.Long): kotlin.Long
|
||||
|
||||
public fun kotlin.Short.coerceAtMost(maximumValue: kotlin.Short): kotlin.Short
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.UByte.coerceAtMost(maximumValue: kotlin.UByte): kotlin.UByte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.UInt.coerceAtMost(maximumValue: kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.ULong.coerceAtMost(maximumValue: kotlin.ULong): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.UShort.coerceAtMost(maximumValue: kotlin.UShort): kotlin.UShort
|
||||
|
||||
public fun <T : kotlin.Comparable<T>> T.coerceIn(minimumValue: T?, maximumValue: T?): T
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun <T : kotlin.Comparable<T>> T.coerceIn(range: kotlin.ranges.ClosedFloatingPointRange<T>): T
|
||||
|
||||
public fun <T : kotlin.Comparable<T>> T.coerceIn(range: kotlin.ranges.ClosedRange<T>): T
|
||||
|
||||
public fun kotlin.Byte.coerceIn(minimumValue: kotlin.Byte, maximumValue: kotlin.Byte): kotlin.Byte
|
||||
|
||||
public fun kotlin.Double.coerceIn(minimumValue: kotlin.Double, maximumValue: kotlin.Double): kotlin.Double
|
||||
|
||||
public fun kotlin.Float.coerceIn(minimumValue: kotlin.Float, maximumValue: kotlin.Float): kotlin.Float
|
||||
|
||||
public fun kotlin.Int.coerceIn(minimumValue: kotlin.Int, maximumValue: kotlin.Int): kotlin.Int
|
||||
|
||||
public fun kotlin.Int.coerceIn(range: kotlin.ranges.ClosedRange<kotlin.Int>): kotlin.Int
|
||||
|
||||
public fun kotlin.Long.coerceIn(minimumValue: kotlin.Long, maximumValue: kotlin.Long): kotlin.Long
|
||||
|
||||
public fun kotlin.Long.coerceIn(range: kotlin.ranges.ClosedRange<kotlin.Long>): kotlin.Long
|
||||
|
||||
public fun kotlin.Short.coerceIn(minimumValue: kotlin.Short, maximumValue: kotlin.Short): kotlin.Short
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.UByte.coerceIn(minimumValue: kotlin.UByte, maximumValue: kotlin.UByte): kotlin.UByte
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.UInt.coerceIn(minimumValue: kotlin.UInt, maximumValue: kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.UInt.coerceIn(range: kotlin.ranges.ClosedRange<kotlin.UInt>): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.ULong.coerceIn(minimumValue: kotlin.ULong, maximumValue: kotlin.ULong): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.ULong.coerceIn(range: kotlin.ranges.ClosedRange<kotlin.ULong>): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.UShort.coerceIn(minimumValue: kotlin.UShort, maximumValue: kotlin.UShort): kotlin.UShort
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun <T : kotlin.Any, R : kotlin.collections.Iterable<T>> R.contains(element: T?): kotlin.Boolean where R : kotlin.ranges.ClosedRange<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.ranges.CharRange.contains(element: kotlin.Char?): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "byteRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Byte>.contains(value: kotlin.Double): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "byteRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Byte>.contains(value: kotlin.Float): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "byteRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Byte>.contains(value: kotlin.Int): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "byteRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Byte>.contains(value: kotlin.Long): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "byteRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Byte>.contains(value: kotlin.Short): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "doubleRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Double>.contains(value: kotlin.Byte): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "doubleRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Double>.contains(value: kotlin.Float): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "doubleRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Double>.contains(value: kotlin.Int): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "doubleRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Double>.contains(value: kotlin.Long): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "doubleRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Double>.contains(value: kotlin.Short): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "floatRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Float>.contains(value: kotlin.Byte): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "floatRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Float>.contains(value: kotlin.Double): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "floatRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Float>.contains(value: kotlin.Int): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "floatRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Float>.contains(value: kotlin.Long): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "floatRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Float>.contains(value: kotlin.Short): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "intRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Int>.contains(value: kotlin.Byte): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "intRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Int>.contains(value: kotlin.Double): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "intRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Int>.contains(value: kotlin.Float): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "intRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Int>.contains(value: kotlin.Long): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "intRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Int>.contains(value: kotlin.Short): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "longRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Long>.contains(value: kotlin.Byte): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "longRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Long>.contains(value: kotlin.Double): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "longRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Long>.contains(value: kotlin.Float): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "longRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Long>.contains(value: kotlin.Int): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "longRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Long>.contains(value: kotlin.Short): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "shortRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Short>.contains(value: kotlin.Byte): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "shortRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Short>.contains(value: kotlin.Double): kotlin.Boolean
|
||||
|
||||
@kotlin.Deprecated(message = "This `contains` operation mixing integer and floating point arguments has ambiguous semantics and is going to be removed.")
|
||||
@kotlin.jvm.JvmName(name = "shortRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Short>.contains(value: kotlin.Float): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "shortRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Short>.contains(value: kotlin.Int): kotlin.Boolean
|
||||
|
||||
@kotlin.jvm.JvmName(name = "shortRangeContains")
|
||||
public operator fun kotlin.ranges.ClosedRange<kotlin.Short>.contains(value: kotlin.Long): kotlin.Boolean
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.ranges.IntRange.contains(element: kotlin.Int?): kotlin.Boolean
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.ranges.LongRange.contains(element: kotlin.Long?): kotlin.Boolean
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public operator fun kotlin.ranges.UIntRange.contains(value: kotlin.UByte): kotlin.Boolean
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.ranges.UIntRange.contains(element: kotlin.UInt?): kotlin.Boolean
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public operator fun kotlin.ranges.UIntRange.contains(value: kotlin.ULong): kotlin.Boolean
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public operator fun kotlin.ranges.UIntRange.contains(value: kotlin.UShort): kotlin.Boolean
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public operator fun kotlin.ranges.ULongRange.contains(value: kotlin.UByte): kotlin.Boolean
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public operator fun kotlin.ranges.ULongRange.contains(value: kotlin.UInt): kotlin.Boolean
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.ranges.ULongRange.contains(element: kotlin.ULong?): kotlin.Boolean
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public operator fun kotlin.ranges.ULongRange.contains(value: kotlin.UShort): kotlin.Boolean
|
||||
|
||||
public infix fun kotlin.Byte.downTo(to: kotlin.Byte): kotlin.ranges.IntProgression
|
||||
|
||||
public infix fun kotlin.Byte.downTo(to: kotlin.Int): kotlin.ranges.IntProgression
|
||||
|
||||
public infix fun kotlin.Byte.downTo(to: kotlin.Long): kotlin.ranges.LongProgression
|
||||
|
||||
public infix fun kotlin.Byte.downTo(to: kotlin.Short): kotlin.ranges.IntProgression
|
||||
|
||||
public infix fun kotlin.Char.downTo(to: kotlin.Char): kotlin.ranges.CharProgression
|
||||
|
||||
public infix fun kotlin.Int.downTo(to: kotlin.Byte): kotlin.ranges.IntProgression
|
||||
|
||||
public infix fun kotlin.Int.downTo(to: kotlin.Int): kotlin.ranges.IntProgression
|
||||
|
||||
public infix fun kotlin.Int.downTo(to: kotlin.Long): kotlin.ranges.LongProgression
|
||||
|
||||
public infix fun kotlin.Int.downTo(to: kotlin.Short): kotlin.ranges.IntProgression
|
||||
|
||||
public infix fun kotlin.Long.downTo(to: kotlin.Byte): kotlin.ranges.LongProgression
|
||||
|
||||
public infix fun kotlin.Long.downTo(to: kotlin.Int): kotlin.ranges.LongProgression
|
||||
|
||||
public infix fun kotlin.Long.downTo(to: kotlin.Long): kotlin.ranges.LongProgression
|
||||
|
||||
public infix fun kotlin.Long.downTo(to: kotlin.Short): kotlin.ranges.LongProgression
|
||||
|
||||
public infix fun kotlin.Short.downTo(to: kotlin.Byte): kotlin.ranges.IntProgression
|
||||
|
||||
public infix fun kotlin.Short.downTo(to: kotlin.Int): kotlin.ranges.IntProgression
|
||||
|
||||
public infix fun kotlin.Short.downTo(to: kotlin.Long): kotlin.ranges.LongProgression
|
||||
|
||||
public infix fun kotlin.Short.downTo(to: kotlin.Short): kotlin.ranges.IntProgression
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public infix fun kotlin.UByte.downTo(to: kotlin.UByte): kotlin.ranges.UIntProgression
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public infix fun kotlin.UInt.downTo(to: kotlin.UInt): kotlin.ranges.UIntProgression
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public infix fun kotlin.ULong.downTo(to: kotlin.ULong): kotlin.ranges.ULongProgression
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public infix fun kotlin.UShort.downTo(to: kotlin.UShort): kotlin.ranges.UIntProgression
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.ranges.CharRange.random(): kotlin.Char
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun kotlin.ranges.CharRange.random(random: kotlin.random.Random): kotlin.Char
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.ranges.IntRange.random(): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun kotlin.ranges.IntRange.random(random: kotlin.random.Random): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.ranges.LongRange.random(): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun kotlin.ranges.LongRange.random(random: kotlin.random.Random): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.ranges.UIntRange.random(): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.ranges.UIntRange.random(random: kotlin.random.Random): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.ranges.ULongRange.random(): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.ranges.ULongRange.random(random: kotlin.random.Random): kotlin.ULong
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.ranges.CharRange.randomOrNull(): kotlin.Char?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
public fun kotlin.ranges.CharRange.randomOrNull(random: kotlin.random.Random): kotlin.Char?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.ranges.IntRange.randomOrNull(): kotlin.Int?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
public fun kotlin.ranges.IntRange.randomOrNull(random: kotlin.random.Random): kotlin.Int?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.ranges.LongRange.randomOrNull(): kotlin.Long?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
public fun kotlin.ranges.LongRange.randomOrNull(random: kotlin.random.Random): kotlin.Long?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.ranges.UIntRange.randomOrNull(): kotlin.UInt?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.ranges.UIntRange.randomOrNull(random: kotlin.random.Random): kotlin.UInt?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun kotlin.ranges.ULongRange.randomOrNull(): kotlin.ULong?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.ranges.ULongRange.randomOrNull(random: kotlin.random.Random): kotlin.ULong?
|
||||
|
||||
public operator fun <T : kotlin.Comparable<T>> T.rangeTo(that: T): kotlin.ranges.ClosedRange<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public operator fun kotlin.Double.rangeTo(that: kotlin.Double): kotlin.ranges.ClosedFloatingPointRange<kotlin.Double>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public operator fun kotlin.Float.rangeTo(that: kotlin.Float): kotlin.ranges.ClosedFloatingPointRange<kotlin.Float>
|
||||
|
||||
public fun kotlin.ranges.CharProgression.reversed(): kotlin.ranges.CharProgression
|
||||
|
||||
public fun kotlin.ranges.IntProgression.reversed(): kotlin.ranges.IntProgression
|
||||
|
||||
public fun kotlin.ranges.LongProgression.reversed(): kotlin.ranges.LongProgression
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.ranges.UIntProgression.reversed(): kotlin.ranges.UIntProgression
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.ranges.ULongProgression.reversed(): kotlin.ranges.ULongProgression
|
||||
|
||||
public infix fun kotlin.ranges.CharProgression.step(step: kotlin.Int): kotlin.ranges.CharProgression
|
||||
|
||||
public infix fun kotlin.ranges.IntProgression.step(step: kotlin.Int): kotlin.ranges.IntProgression
|
||||
|
||||
public infix fun kotlin.ranges.LongProgression.step(step: kotlin.Long): kotlin.ranges.LongProgression
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public infix fun kotlin.ranges.UIntProgression.step(step: kotlin.Int): kotlin.ranges.UIntProgression
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public infix fun kotlin.ranges.ULongProgression.step(step: kotlin.Long): kotlin.ranges.ULongProgression
|
||||
|
||||
public infix fun kotlin.Byte.until(to: kotlin.Byte): kotlin.ranges.IntRange
|
||||
|
||||
public infix fun kotlin.Byte.until(to: kotlin.Int): kotlin.ranges.IntRange
|
||||
|
||||
public infix fun kotlin.Byte.until(to: kotlin.Long): kotlin.ranges.LongRange
|
||||
|
||||
public infix fun kotlin.Byte.until(to: kotlin.Short): kotlin.ranges.IntRange
|
||||
|
||||
public infix fun kotlin.Char.until(to: kotlin.Char): kotlin.ranges.CharRange
|
||||
|
||||
public infix fun kotlin.Int.until(to: kotlin.Byte): kotlin.ranges.IntRange
|
||||
|
||||
public infix fun kotlin.Int.until(to: kotlin.Int): kotlin.ranges.IntRange
|
||||
|
||||
public infix fun kotlin.Int.until(to: kotlin.Long): kotlin.ranges.LongRange
|
||||
|
||||
public infix fun kotlin.Int.until(to: kotlin.Short): kotlin.ranges.IntRange
|
||||
|
||||
public infix fun kotlin.Long.until(to: kotlin.Byte): kotlin.ranges.LongRange
|
||||
|
||||
public infix fun kotlin.Long.until(to: kotlin.Int): kotlin.ranges.LongRange
|
||||
|
||||
public infix fun kotlin.Long.until(to: kotlin.Long): kotlin.ranges.LongRange
|
||||
|
||||
public infix fun kotlin.Long.until(to: kotlin.Short): kotlin.ranges.LongRange
|
||||
|
||||
public infix fun kotlin.Short.until(to: kotlin.Byte): kotlin.ranges.IntRange
|
||||
|
||||
public infix fun kotlin.Short.until(to: kotlin.Int): kotlin.ranges.IntRange
|
||||
|
||||
public infix fun kotlin.Short.until(to: kotlin.Long): kotlin.ranges.LongRange
|
||||
|
||||
public infix fun kotlin.Short.until(to: kotlin.Short): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public infix fun kotlin.UByte.until(to: kotlin.UByte): kotlin.ranges.UIntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public infix fun kotlin.UInt.until(to: kotlin.UInt): kotlin.ranges.UIntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public infix fun kotlin.ULong.until(to: kotlin.ULong): kotlin.ranges.ULongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public infix fun kotlin.UShort.until(to: kotlin.UShort): kotlin.ranges.UIntRange
|
||||
|
||||
public open class CharProgression : kotlin.collections.Iterable<kotlin.Char> {
|
||||
public final val first: kotlin.Char { get; }
|
||||
|
||||
public final val last: kotlin.Char { get; }
|
||||
|
||||
public final val step: kotlin.Int { get; }
|
||||
|
||||
public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public open fun isEmpty(): kotlin.Boolean
|
||||
|
||||
public open override operator fun iterator(): kotlin.collections.CharIterator
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
|
||||
public companion object of CharProgression {
|
||||
public final fun fromClosedRange(rangeStart: kotlin.Char, rangeEnd: kotlin.Char, step: kotlin.Int): kotlin.ranges.CharProgression
|
||||
}
|
||||
}
|
||||
|
||||
public final class CharRange : kotlin.ranges.CharProgression, kotlin.ranges.ClosedRange<kotlin.Char> {
|
||||
public constructor CharRange(start: kotlin.Char, endInclusive: kotlin.Char)
|
||||
|
||||
public open override val endInclusive: kotlin.Char { get; }
|
||||
|
||||
public open override val start: kotlin.Char { get; }
|
||||
|
||||
public open override operator fun contains(value: kotlin.Char): kotlin.Boolean
|
||||
|
||||
public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public open override fun isEmpty(): kotlin.Boolean
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
|
||||
public companion object of CharRange {
|
||||
public final val EMPTY: kotlin.ranges.CharRange { get; }
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public interface ClosedFloatingPointRange<T : kotlin.Comparable<T>> : kotlin.ranges.ClosedRange<T> {
|
||||
public open override operator fun contains(value: T): kotlin.Boolean
|
||||
|
||||
public open override fun isEmpty(): kotlin.Boolean
|
||||
|
||||
public abstract fun lessThanOrEquals(a: T, b: T): kotlin.Boolean
|
||||
}
|
||||
|
||||
public interface ClosedRange<T : kotlin.Comparable<T>> {
|
||||
public abstract val endInclusive: T { get; }
|
||||
|
||||
public abstract val start: T { get; }
|
||||
|
||||
public open operator fun contains(value: T): kotlin.Boolean
|
||||
|
||||
public open fun isEmpty(): kotlin.Boolean
|
||||
}
|
||||
|
||||
public open class IntProgression : kotlin.collections.Iterable<kotlin.Int> {
|
||||
public final val first: kotlin.Int { get; }
|
||||
|
||||
public final val last: kotlin.Int { get; }
|
||||
|
||||
public final val step: kotlin.Int { get; }
|
||||
|
||||
public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public open fun isEmpty(): kotlin.Boolean
|
||||
|
||||
public open override operator fun iterator(): kotlin.collections.IntIterator
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
|
||||
public companion object of IntProgression {
|
||||
public final fun fromClosedRange(rangeStart: kotlin.Int, rangeEnd: kotlin.Int, step: kotlin.Int): kotlin.ranges.IntProgression
|
||||
}
|
||||
}
|
||||
|
||||
public final class IntRange : kotlin.ranges.IntProgression, kotlin.ranges.ClosedRange<kotlin.Int> {
|
||||
public constructor IntRange(start: kotlin.Int, endInclusive: kotlin.Int)
|
||||
|
||||
public open override val endInclusive: kotlin.Int { get; }
|
||||
|
||||
public open override val start: kotlin.Int { get; }
|
||||
|
||||
public open override operator fun contains(value: kotlin.Int): kotlin.Boolean
|
||||
|
||||
public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public open override fun isEmpty(): kotlin.Boolean
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
|
||||
public companion object of IntRange {
|
||||
public final val EMPTY: kotlin.ranges.IntRange { get; }
|
||||
}
|
||||
}
|
||||
|
||||
public open class LongProgression : kotlin.collections.Iterable<kotlin.Long> {
|
||||
public final val first: kotlin.Long { get; }
|
||||
|
||||
public final val last: kotlin.Long { get; }
|
||||
|
||||
public final val step: kotlin.Long { get; }
|
||||
|
||||
public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public open fun isEmpty(): kotlin.Boolean
|
||||
|
||||
public open override operator fun iterator(): kotlin.collections.LongIterator
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
|
||||
public companion object of LongProgression {
|
||||
public final fun fromClosedRange(rangeStart: kotlin.Long, rangeEnd: kotlin.Long, step: kotlin.Long): kotlin.ranges.LongProgression
|
||||
}
|
||||
}
|
||||
|
||||
public final class LongRange : kotlin.ranges.LongProgression, kotlin.ranges.ClosedRange<kotlin.Long> {
|
||||
public constructor LongRange(start: kotlin.Long, endInclusive: kotlin.Long)
|
||||
|
||||
public open override val endInclusive: kotlin.Long { get; }
|
||||
|
||||
public open override val start: kotlin.Long { get; }
|
||||
|
||||
public open override operator fun contains(value: kotlin.Long): kotlin.Boolean
|
||||
|
||||
public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public open override fun isEmpty(): kotlin.Boolean
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
|
||||
public companion object of LongRange {
|
||||
public final val EMPTY: kotlin.ranges.LongRange { get; }
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public open class UIntProgression : kotlin.collections.Iterable<kotlin.UInt> {
|
||||
public final val first: kotlin.UInt { get; }
|
||||
|
||||
public final val last: kotlin.UInt { get; }
|
||||
|
||||
public final val step: kotlin.Int { get; }
|
||||
|
||||
public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public open fun isEmpty(): kotlin.Boolean
|
||||
|
||||
public open override operator fun iterator(): kotlin.collections.UIntIterator
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
|
||||
public companion object of UIntProgression {
|
||||
public final fun fromClosedRange(rangeStart: kotlin.UInt, rangeEnd: kotlin.UInt, step: kotlin.Int): kotlin.ranges.UIntProgression
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public final class UIntRange : kotlin.ranges.UIntProgression, kotlin.ranges.ClosedRange<kotlin.UInt> {
|
||||
public constructor UIntRange(start: kotlin.UInt, endInclusive: kotlin.UInt)
|
||||
|
||||
public open override val endInclusive: kotlin.UInt { get; }
|
||||
|
||||
public open override val start: kotlin.UInt { get; }
|
||||
|
||||
public open override operator fun contains(value: kotlin.UInt): kotlin.Boolean
|
||||
|
||||
public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public open override fun isEmpty(): kotlin.Boolean
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
|
||||
public companion object of UIntRange {
|
||||
public final val EMPTY: kotlin.ranges.UIntRange { get; }
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public open class ULongProgression : kotlin.collections.Iterable<kotlin.ULong> {
|
||||
public final val first: kotlin.ULong { get; }
|
||||
|
||||
public final val last: kotlin.ULong { get; }
|
||||
|
||||
public final val step: kotlin.Long { get; }
|
||||
|
||||
public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public open fun isEmpty(): kotlin.Boolean
|
||||
|
||||
public open override operator fun iterator(): kotlin.collections.ULongIterator
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
|
||||
public companion object of ULongProgression {
|
||||
public final fun fromClosedRange(rangeStart: kotlin.ULong, rangeEnd: kotlin.ULong, step: kotlin.Long): kotlin.ranges.ULongProgression
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public final class ULongRange : kotlin.ranges.ULongProgression, kotlin.ranges.ClosedRange<kotlin.ULong> {
|
||||
public constructor ULongRange(start: kotlin.ULong, endInclusive: kotlin.ULong)
|
||||
|
||||
public open override val endInclusive: kotlin.ULong { get; }
|
||||
|
||||
public open override val start: kotlin.ULong { get; }
|
||||
|
||||
public open override operator fun contains(value: kotlin.ULong): kotlin.Boolean
|
||||
|
||||
public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public open override fun isEmpty(): kotlin.Boolean
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
|
||||
public companion object of ULongRange {
|
||||
public final val EMPTY: kotlin.ranges.ULongRange { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,144 @@
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
public inline fun <reified T> typeOf(): kotlin.reflect.KType
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
@kotlin.internal.LowPriorityInOverloadResolution
|
||||
public fun <T : kotlin.Any> kotlin.reflect.KClass<T>.cast(value: kotlin.Any?): T
|
||||
|
||||
@kotlin.reflect.ExperimentalAssociatedObjects
|
||||
public inline fun <reified T : kotlin.Annotation> kotlin.reflect.KClass<*>.findAssociatedObject(): kotlin.Any?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
@kotlin.internal.LowPriorityInOverloadResolution
|
||||
public fun <T : kotlin.Any> kotlin.reflect.KClass<T>.safeCast(value: kotlin.Any?): T?
|
||||
|
||||
@kotlin.reflect.ExperimentalAssociatedObjects
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.ANNOTATION_CLASS})
|
||||
public final annotation class AssociatedObjectKey : kotlin.Annotation {
|
||||
public constructor AssociatedObjectKey()
|
||||
}
|
||||
|
||||
@kotlin.RequiresOptIn(level = Level.ERROR)
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
public final annotation class ExperimentalAssociatedObjects : kotlin.Annotation {
|
||||
public constructor ExperimentalAssociatedObjects()
|
||||
}
|
||||
|
||||
public interface KCallable<out R> {
|
||||
public abstract val name: kotlin.String { get; }
|
||||
}
|
||||
|
||||
public interface KClass<T : kotlin.Any> : kotlin.reflect.KClassifier {
|
||||
public abstract val qualifiedName: kotlin.String? { get; }
|
||||
|
||||
public abstract val simpleName: kotlin.String? { get; }
|
||||
|
||||
public abstract override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public abstract override fun hashCode(): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public abstract fun isInstance(value: kotlin.Any?): kotlin.Boolean
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public interface KClassifier {
|
||||
}
|
||||
|
||||
public interface KFunction<out R> : kotlin.reflect.KCallable<R>, kotlin.Function<R> {
|
||||
}
|
||||
|
||||
public interface KMutableProperty<V> : kotlin.reflect.KProperty<V> {
|
||||
}
|
||||
|
||||
public interface KMutableProperty0<V> : kotlin.reflect.KProperty0<V>, kotlin.reflect.KMutableProperty<V> {
|
||||
public abstract fun set(value: V): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface KMutableProperty1<T, V> : kotlin.reflect.KProperty1<T, V>, kotlin.reflect.KMutableProperty<V> {
|
||||
public abstract fun set(receiver: T, value: V): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface KMutableProperty2<D, E, V> : kotlin.reflect.KProperty2<D, E, V>, kotlin.reflect.KMutableProperty<V> {
|
||||
public abstract fun set(receiver1: D, receiver2: E, value: V): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface KProperty<out V> : kotlin.reflect.KCallable<V> {
|
||||
}
|
||||
|
||||
public interface KProperty0<out V> : kotlin.reflect.KProperty<V>, () -> V {
|
||||
public abstract fun get(): V
|
||||
}
|
||||
|
||||
public interface KProperty1<T, out V> : kotlin.reflect.KProperty<V>, (T) -> V {
|
||||
public abstract fun get(receiver: T): V
|
||||
}
|
||||
|
||||
public interface KProperty2<D, E, out V> : kotlin.reflect.KProperty<V>, (D, E) -> V {
|
||||
public abstract fun get(receiver1: D, receiver2: E): V
|
||||
}
|
||||
|
||||
public interface KType {
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public abstract val arguments: kotlin.collections.List<kotlin.reflect.KTypeProjection> { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public abstract val classifier: kotlin.reflect.KClassifier? { get; }
|
||||
|
||||
public abstract val isMarkedNullable: kotlin.Boolean { get; }
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public interface KTypeParameter : kotlin.reflect.KClassifier {
|
||||
public abstract val isReified: kotlin.Boolean { get; }
|
||||
|
||||
public abstract val name: kotlin.String { get; }
|
||||
|
||||
public abstract val upperBounds: kotlin.collections.List<kotlin.reflect.KType> { get; }
|
||||
|
||||
public abstract val variance: kotlin.reflect.KVariance { get; }
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public final data class KTypeProjection {
|
||||
public constructor KTypeProjection(variance: kotlin.reflect.KVariance?, type: kotlin.reflect.KType?)
|
||||
|
||||
public final val type: kotlin.reflect.KType? { get; }
|
||||
|
||||
public final val variance: kotlin.reflect.KVariance? { get; }
|
||||
|
||||
public final operator fun component1(): kotlin.reflect.KVariance?
|
||||
|
||||
public final operator fun component2(): kotlin.reflect.KType?
|
||||
|
||||
public final fun copy(variance: kotlin.reflect.KVariance? = ..., type: kotlin.reflect.KType? = ...): kotlin.reflect.KTypeProjection
|
||||
|
||||
public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
|
||||
public companion object of KTypeProjection {
|
||||
public final val STAR: kotlin.reflect.KTypeProjection { get; }
|
||||
|
||||
public final fun contravariant(type: kotlin.reflect.KType): kotlin.reflect.KTypeProjection
|
||||
|
||||
public final fun covariant(type: kotlin.reflect.KType): kotlin.reflect.KTypeProjection
|
||||
|
||||
public final fun invariant(type: kotlin.reflect.KType): kotlin.reflect.KTypeProjection
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public final enum class KVariance : kotlin.Enum<kotlin.reflect.KVariance> {
|
||||
enum entry INVARIANT
|
||||
|
||||
enum entry IN
|
||||
|
||||
enum entry OUT
|
||||
}
|
||||
@@ -0,0 +1,563 @@
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> Sequence(crossinline iterator: () -> kotlin.collections.Iterator<T>): kotlin.sequences.Sequence<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use 'iterator { }' function instead.", replaceWith = kotlin.ReplaceWith(expression = "iterator(builderAction)", imports = {}))
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> buildIterator(@kotlin.BuilderInference
|
||||
noinline builderAction: suspend kotlin.sequences.SequenceScope<T>.() -> kotlin.Unit): kotlin.collections.Iterator<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use 'sequence { }' function instead.", replaceWith = kotlin.ReplaceWith(expression = "sequence(builderAction)", imports = {}))
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> buildSequence(@kotlin.BuilderInference
|
||||
noinline builderAction: suspend kotlin.sequences.SequenceScope<T>.() -> kotlin.Unit): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T> emptySequence(): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T : kotlin.Any> generateSequence(nextFunction: () -> T?): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T : kotlin.Any> generateSequence(seedFunction: () -> T?, nextFunction: (T) -> T?): kotlin.sequences.Sequence<T>
|
||||
|
||||
@kotlin.internal.LowPriorityInOverloadResolution
|
||||
public fun <T : kotlin.Any> generateSequence(seed: T?, nextFunction: (T) -> T?): kotlin.sequences.Sequence<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun <T> iterator(@kotlin.BuilderInference
|
||||
block: suspend kotlin.sequences.SequenceScope<T>.() -> kotlin.Unit): kotlin.collections.Iterator<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun <T> sequence(@kotlin.BuilderInference
|
||||
block: suspend kotlin.sequences.SequenceScope<T>.() -> kotlin.Unit): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T> sequenceOf(vararg elements: T): kotlin.sequences.Sequence<T>
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.all(predicate: (T) -> kotlin.Boolean): kotlin.Boolean
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.any(): kotlin.Boolean
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.any(predicate: (T) -> kotlin.Boolean): kotlin.Boolean
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.asIterable(): kotlin.collections.Iterable<T>
|
||||
|
||||
public fun <T> kotlin.collections.Iterator<T>.asSequence(): kotlin.sequences.Sequence<T>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.asSequence(): kotlin.sequences.Sequence<T>
|
||||
|
||||
public inline fun <T, K, V> kotlin.sequences.Sequence<T>.associate(transform: (T) -> kotlin.Pair<K, V>): kotlin.collections.Map<K, V>
|
||||
|
||||
public inline fun <T, K> kotlin.sequences.Sequence<T>.associateBy(keySelector: (T) -> K): kotlin.collections.Map<K, T>
|
||||
|
||||
public inline fun <T, K, V> kotlin.sequences.Sequence<T>.associateBy(keySelector: (T) -> K, valueTransform: (T) -> V): kotlin.collections.Map<K, V>
|
||||
|
||||
public inline fun <T, K, M : kotlin.collections.MutableMap<in K, in T>> kotlin.sequences.Sequence<T>.associateByTo(destination: M, keySelector: (T) -> K): M
|
||||
|
||||
public inline fun <T, K, V, M : kotlin.collections.MutableMap<in K, in V>> kotlin.sequences.Sequence<T>.associateByTo(destination: M, keySelector: (T) -> K, valueTransform: (T) -> V): M
|
||||
|
||||
public inline fun <T, K, V, M : kotlin.collections.MutableMap<in K, in V>> kotlin.sequences.Sequence<T>.associateTo(destination: M, transform: (T) -> kotlin.Pair<K, V>): M
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public inline fun <K, V> kotlin.sequences.Sequence<K>.associateWith(valueSelector: (K) -> V): kotlin.collections.Map<K, V>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public inline fun <K, V, M : kotlin.collections.MutableMap<in K, in V>> kotlin.sequences.Sequence<K>.associateWithTo(destination: M, valueSelector: (K) -> V): M
|
||||
|
||||
@kotlin.jvm.JvmName(name = "averageOfByte")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Byte>.average(): kotlin.Double
|
||||
|
||||
@kotlin.jvm.JvmName(name = "averageOfDouble")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Double>.average(): kotlin.Double
|
||||
|
||||
@kotlin.jvm.JvmName(name = "averageOfFloat")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Float>.average(): kotlin.Double
|
||||
|
||||
@kotlin.jvm.JvmName(name = "averageOfInt")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Int>.average(): kotlin.Double
|
||||
|
||||
@kotlin.jvm.JvmName(name = "averageOfLong")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Long>.average(): kotlin.Double
|
||||
|
||||
@kotlin.jvm.JvmName(name = "averageOfShort")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Short>.average(): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun <T> kotlin.sequences.Sequence<T>.chunked(size: kotlin.Int): kotlin.sequences.Sequence<kotlin.collections.List<T>>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun <T, R> kotlin.sequences.Sequence<T>.chunked(size: kotlin.Int, transform: (kotlin.collections.List<T>) -> R): kotlin.sequences.Sequence<R>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.constrainOnce(): kotlin.sequences.Sequence<T>
|
||||
|
||||
public operator fun <@kotlin.internal.OnlyInputTypes
|
||||
T> kotlin.sequences.Sequence<T>.contains(element: T): kotlin.Boolean
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.count(): kotlin.Int
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.count(predicate: (T) -> kotlin.Boolean): kotlin.Int
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.distinct(): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T, K> kotlin.sequences.Sequence<T>.distinctBy(selector: (T) -> K): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.drop(n: kotlin.Int): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.dropWhile(predicate: (T) -> kotlin.Boolean): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.elementAt(index: kotlin.Int): T
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.elementAtOrElse(index: kotlin.Int, defaultValue: (kotlin.Int) -> T): T
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.elementAtOrNull(index: kotlin.Int): T?
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.filter(predicate: (T) -> kotlin.Boolean): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.filterIndexed(predicate: (index: kotlin.Int, T) -> kotlin.Boolean): kotlin.sequences.Sequence<T>
|
||||
|
||||
public inline fun <T, C : kotlin.collections.MutableCollection<in T>> kotlin.sequences.Sequence<T>.filterIndexedTo(destination: C, predicate: (index: kotlin.Int, T) -> kotlin.Boolean): C
|
||||
|
||||
public inline fun <reified R> kotlin.sequences.Sequence<*>.filterIsInstance(): kotlin.sequences.Sequence<R>
|
||||
|
||||
public inline fun <reified R, C : kotlin.collections.MutableCollection<in R>> kotlin.sequences.Sequence<*>.filterIsInstanceTo(destination: C): C
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.filterNot(predicate: (T) -> kotlin.Boolean): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T : kotlin.Any> kotlin.sequences.Sequence<T?>.filterNotNull(): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <C : kotlin.collections.MutableCollection<in T>, T : kotlin.Any> kotlin.sequences.Sequence<T?>.filterNotNullTo(destination: C): C
|
||||
|
||||
public inline fun <T, C : kotlin.collections.MutableCollection<in T>> kotlin.sequences.Sequence<T>.filterNotTo(destination: C, predicate: (T) -> kotlin.Boolean): C
|
||||
|
||||
public inline fun <T, C : kotlin.collections.MutableCollection<in T>> kotlin.sequences.Sequence<T>.filterTo(destination: C, predicate: (T) -> kotlin.Boolean): C
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.find(predicate: (T) -> kotlin.Boolean): T?
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.findLast(predicate: (T) -> kotlin.Boolean): T?
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.first(): T
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.first(predicate: (T) -> kotlin.Boolean): T
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.firstOrNull(): T?
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.firstOrNull(predicate: (T) -> kotlin.Boolean): T?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.jvm.JvmName(name = "flatMapIterable")
|
||||
public fun <T, R> kotlin.sequences.Sequence<T>.flatMap(transform: (T) -> kotlin.collections.Iterable<R>): kotlin.sequences.Sequence<R>
|
||||
|
||||
public fun <T, R> kotlin.sequences.Sequence<T>.flatMap(transform: (T) -> kotlin.sequences.Sequence<R>): kotlin.sequences.Sequence<R>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.jvm.JvmName(name = "flatMapIterableTo")
|
||||
public inline fun <T, R, C : kotlin.collections.MutableCollection<in R>> kotlin.sequences.Sequence<T>.flatMapTo(destination: C, transform: (T) -> kotlin.collections.Iterable<R>): C
|
||||
|
||||
public inline fun <T, R, C : kotlin.collections.MutableCollection<in R>> kotlin.sequences.Sequence<T>.flatMapTo(destination: C, transform: (T) -> kotlin.sequences.Sequence<R>): C
|
||||
|
||||
@kotlin.jvm.JvmName(name = "flattenSequenceOfIterable")
|
||||
public fun <T> kotlin.sequences.Sequence<kotlin.collections.Iterable<T>>.flatten(): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<kotlin.sequences.Sequence<T>>.flatten(): kotlin.sequences.Sequence<T>
|
||||
|
||||
public inline fun <T, R> kotlin.sequences.Sequence<T>.fold(initial: R, operation: (acc: R, T) -> R): R
|
||||
|
||||
public inline fun <T, R> kotlin.sequences.Sequence<T>.foldIndexed(initial: R, operation: (index: kotlin.Int, acc: R, T) -> R): R
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.forEach(action: (T) -> kotlin.Unit): kotlin.Unit
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.forEachIndexed(action: (index: kotlin.Int, T) -> kotlin.Unit): kotlin.Unit
|
||||
|
||||
public inline fun <T, K> kotlin.sequences.Sequence<T>.groupBy(keySelector: (T) -> K): kotlin.collections.Map<K, kotlin.collections.List<T>>
|
||||
|
||||
public inline fun <T, K, V> kotlin.sequences.Sequence<T>.groupBy(keySelector: (T) -> K, valueTransform: (T) -> V): kotlin.collections.Map<K, kotlin.collections.List<V>>
|
||||
|
||||
public inline fun <T, K, M : kotlin.collections.MutableMap<in K, kotlin.collections.MutableList<T>>> kotlin.sequences.Sequence<T>.groupByTo(destination: M, keySelector: (T) -> K): M
|
||||
|
||||
public inline fun <T, K, V, M : kotlin.collections.MutableMap<in K, kotlin.collections.MutableList<V>>> kotlin.sequences.Sequence<T>.groupByTo(destination: M, keySelector: (T) -> K, valueTransform: (T) -> V): M
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public inline fun <T, K> kotlin.sequences.Sequence<T>.groupingBy(crossinline keySelector: (T) -> K): kotlin.collections.Grouping<T, K>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public fun <T> kotlin.sequences.Sequence<T>.ifEmpty(defaultValue: () -> kotlin.sequences.Sequence<T>): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <@kotlin.internal.OnlyInputTypes
|
||||
T> kotlin.sequences.Sequence<T>.indexOf(element: T): kotlin.Int
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.indexOfFirst(predicate: (T) -> kotlin.Boolean): kotlin.Int
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.indexOfLast(predicate: (T) -> kotlin.Boolean): kotlin.Int
|
||||
|
||||
public fun <T, A : kotlin.text.Appendable> kotlin.sequences.Sequence<T>.joinTo(buffer: A, separator: kotlin.CharSequence = ..., prefix: kotlin.CharSequence = ..., postfix: kotlin.CharSequence = ..., limit: kotlin.Int = ..., truncated: kotlin.CharSequence = ..., transform: ((T) -> kotlin.CharSequence)? = ...): A
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.joinToString(separator: kotlin.CharSequence = ..., prefix: kotlin.CharSequence = ..., postfix: kotlin.CharSequence = ..., limit: kotlin.Int = ..., truncated: kotlin.CharSequence = ..., transform: ((T) -> kotlin.CharSequence)? = ...): kotlin.String
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.last(): T
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.last(predicate: (T) -> kotlin.Boolean): T
|
||||
|
||||
public fun <@kotlin.internal.OnlyInputTypes
|
||||
T> kotlin.sequences.Sequence<T>.lastIndexOf(element: T): kotlin.Int
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.lastOrNull(): T?
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.lastOrNull(predicate: (T) -> kotlin.Boolean): T?
|
||||
|
||||
public fun <T, R> kotlin.sequences.Sequence<T>.map(transform: (T) -> R): kotlin.sequences.Sequence<R>
|
||||
|
||||
public fun <T, R> kotlin.sequences.Sequence<T>.mapIndexed(transform: (index: kotlin.Int, T) -> R): kotlin.sequences.Sequence<R>
|
||||
|
||||
public fun <T, R : kotlin.Any> kotlin.sequences.Sequence<T>.mapIndexedNotNull(transform: (index: kotlin.Int, T) -> R?): kotlin.sequences.Sequence<R>
|
||||
|
||||
public inline fun <T, R : kotlin.Any, C : kotlin.collections.MutableCollection<in R>> kotlin.sequences.Sequence<T>.mapIndexedNotNullTo(destination: C, transform: (index: kotlin.Int, T) -> R?): C
|
||||
|
||||
public inline fun <T, R, C : kotlin.collections.MutableCollection<in R>> kotlin.sequences.Sequence<T>.mapIndexedTo(destination: C, transform: (index: kotlin.Int, T) -> R): C
|
||||
|
||||
public fun <T, R : kotlin.Any> kotlin.sequences.Sequence<T>.mapNotNull(transform: (T) -> R?): kotlin.sequences.Sequence<R>
|
||||
|
||||
public inline fun <T, R : kotlin.Any, C : kotlin.collections.MutableCollection<in R>> kotlin.sequences.Sequence<T>.mapNotNullTo(destination: C, transform: (T) -> R?): C
|
||||
|
||||
public inline fun <T, R, C : kotlin.collections.MutableCollection<in R>> kotlin.sequences.Sequence<T>.mapTo(destination: C, transform: (T) -> R): C
|
||||
|
||||
public fun <T : kotlin.Comparable<T>> kotlin.sequences.Sequence<T>.max(): T?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Double>.max(): kotlin.Double?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Float>.max(): kotlin.Float?
|
||||
|
||||
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.maxBy(selector: (T) -> R): T?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.maxOf(selector: (T) -> R): R
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.maxOf(selector: (T) -> kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.maxOf(selector: (T) -> kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.maxOfOrNull(selector: (T) -> R): R?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.maxOfOrNull(selector: (T) -> kotlin.Double): kotlin.Double?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.maxOfOrNull(selector: (T) -> kotlin.Float): kotlin.Float?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T, R> kotlin.sequences.Sequence<T>.maxOfWith(comparator: kotlin.Comparator<in R>, selector: (T) -> R): R
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T, R> kotlin.sequences.Sequence<T>.maxOfWithOrNull(comparator: kotlin.Comparator<in R>, selector: (T) -> R): R?
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.maxWith(comparator: kotlin.Comparator<in T>): T?
|
||||
|
||||
public fun <T : kotlin.Comparable<T>> kotlin.sequences.Sequence<T>.min(): T?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Double>.min(): kotlin.Double?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Float>.min(): kotlin.Float?
|
||||
|
||||
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.minBy(selector: (T) -> R): T?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.minOf(selector: (T) -> R): R
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.minOf(selector: (T) -> kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.minOf(selector: (T) -> kotlin.Float): kotlin.Float
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.minOfOrNull(selector: (T) -> R): R?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.minOfOrNull(selector: (T) -> kotlin.Double): kotlin.Double?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.minOfOrNull(selector: (T) -> kotlin.Float): kotlin.Float?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T, R> kotlin.sequences.Sequence<T>.minOfWith(comparator: kotlin.Comparator<in R>, selector: (T) -> R): R
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T, R> kotlin.sequences.Sequence<T>.minOfWithOrNull(comparator: kotlin.Comparator<in R>, selector: (T) -> R): R?
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.minWith(comparator: kotlin.Comparator<in T>): T?
|
||||
|
||||
public operator fun <T> kotlin.sequences.Sequence<T>.minus(element: T): kotlin.sequences.Sequence<T>
|
||||
|
||||
public operator fun <T> kotlin.sequences.Sequence<T>.minus(elements: kotlin.Array<out T>): kotlin.sequences.Sequence<T>
|
||||
|
||||
public operator fun <T> kotlin.sequences.Sequence<T>.minus(elements: kotlin.collections.Iterable<T>): kotlin.sequences.Sequence<T>
|
||||
|
||||
public operator fun <T> kotlin.sequences.Sequence<T>.minus(elements: kotlin.sequences.Sequence<T>): kotlin.sequences.Sequence<T>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.minusElement(element: T): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.none(): kotlin.Boolean
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.none(predicate: (T) -> kotlin.Boolean): kotlin.Boolean
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.1")
|
||||
public fun <T> kotlin.sequences.Sequence<T>.onEach(action: (T) -> kotlin.Unit): kotlin.sequences.Sequence<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun <T> kotlin.sequences.Sequence<T>.onEachIndexed(action: (index: kotlin.Int, T) -> kotlin.Unit): kotlin.sequences.Sequence<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>?.orEmpty(): kotlin.sequences.Sequence<T>
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.partition(predicate: (T) -> kotlin.Boolean): kotlin.Pair<kotlin.collections.List<T>, kotlin.collections.List<T>>
|
||||
|
||||
public operator fun <T> kotlin.sequences.Sequence<T>.plus(element: T): kotlin.sequences.Sequence<T>
|
||||
|
||||
public operator fun <T> kotlin.sequences.Sequence<T>.plus(elements: kotlin.Array<out T>): kotlin.sequences.Sequence<T>
|
||||
|
||||
public operator fun <T> kotlin.sequences.Sequence<T>.plus(elements: kotlin.collections.Iterable<T>): kotlin.sequences.Sequence<T>
|
||||
|
||||
public operator fun <T> kotlin.sequences.Sequence<T>.plus(elements: kotlin.sequences.Sequence<T>): kotlin.sequences.Sequence<T>
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.plusElement(element: T): kotlin.sequences.Sequence<T>
|
||||
|
||||
public inline fun <S, T : S> kotlin.sequences.Sequence<T>.reduce(operation: (acc: S, T) -> S): S
|
||||
|
||||
public inline fun <S, T : S> kotlin.sequences.Sequence<T>.reduceIndexed(operation: (index: kotlin.Int, acc: S, T) -> S): S
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public inline fun <S, T : S> kotlin.sequences.Sequence<T>.reduceIndexedOrNull(operation: (index: kotlin.Int, acc: S, T) -> S): S?
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
public inline fun <S, T : S> kotlin.sequences.Sequence<T>.reduceOrNull(operation: (acc: S, T) -> S): S?
|
||||
|
||||
public fun <T : kotlin.Any> kotlin.sequences.Sequence<T?>.requireNoNulls(): kotlin.sequences.Sequence<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun <T, R> kotlin.sequences.Sequence<T>.runningFold(initial: R, operation: (acc: R, T) -> R): kotlin.sequences.Sequence<R>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun <T, R> kotlin.sequences.Sequence<T>.runningFoldIndexed(initial: R, operation: (index: kotlin.Int, acc: R, T) -> R): kotlin.sequences.Sequence<R>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
public fun <S, T : S> kotlin.sequences.Sequence<T>.runningReduce(operation: (acc: S, T) -> S): kotlin.sequences.Sequence<S>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun <S, T : S> kotlin.sequences.Sequence<T>.runningReduceIndexed(operation: (index: kotlin.Int, acc: S, T) -> S): kotlin.sequences.Sequence<S>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
public fun <T, R> kotlin.sequences.Sequence<T>.scan(initial: R, operation: (acc: R, T) -> R): kotlin.sequences.Sequence<R>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class})
|
||||
public fun <T, R> kotlin.sequences.Sequence<T>.scanIndexed(initial: R, operation: (index: kotlin.Int, acc: R, T) -> R): kotlin.sequences.Sequence<R>
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use runningReduce instead.", replaceWith = kotlin.ReplaceWith(expression = "runningReduce(operation)", imports = {}))
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
public fun <S, T : S> kotlin.sequences.Sequence<T>.scanReduce(operation: (acc: S, T) -> S): kotlin.sequences.Sequence<S>
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use runningReduceIndexed instead.", replaceWith = kotlin.ReplaceWith(expression = "runningReduceIndexed(operation)", imports = {}))
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
public fun <S, T : S> kotlin.sequences.Sequence<T>.scanReduceIndexed(operation: (index: kotlin.Int, acc: S, T) -> S): kotlin.sequences.Sequence<S>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun <T> kotlin.sequences.Sequence<T>.shuffled(): kotlin.sequences.Sequence<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
public fun <T> kotlin.sequences.Sequence<T>.shuffled(random: kotlin.random.Random): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.single(): T
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.single(predicate: (T) -> kotlin.Boolean): T
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.singleOrNull(): T?
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.singleOrNull(predicate: (T) -> kotlin.Boolean): T?
|
||||
|
||||
public fun <T : kotlin.Comparable<T>> kotlin.sequences.Sequence<T>.sorted(): kotlin.sequences.Sequence<T>
|
||||
|
||||
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.sortedBy(crossinline selector: (T) -> R?): kotlin.sequences.Sequence<T>
|
||||
|
||||
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.sortedByDescending(crossinline selector: (T) -> R?): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T : kotlin.Comparable<T>> kotlin.sequences.Sequence<T>.sortedDescending(): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.sortedWith(comparator: kotlin.Comparator<in T>): kotlin.sequences.Sequence<T>
|
||||
|
||||
@kotlin.jvm.JvmName(name = "sumOfByte")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Byte>.sum(): kotlin.Int
|
||||
|
||||
@kotlin.jvm.JvmName(name = "sumOfDouble")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Double>.sum(): kotlin.Double
|
||||
|
||||
@kotlin.jvm.JvmName(name = "sumOfFloat")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Float>.sum(): kotlin.Float
|
||||
|
||||
@kotlin.jvm.JvmName(name = "sumOfInt")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Int>.sum(): kotlin.Int
|
||||
|
||||
@kotlin.jvm.JvmName(name = "sumOfLong")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Long>.sum(): kotlin.Long
|
||||
|
||||
@kotlin.jvm.JvmName(name = "sumOfShort")
|
||||
public fun kotlin.sequences.Sequence<kotlin.Short>.sum(): kotlin.Int
|
||||
|
||||
@kotlin.jvm.JvmName(name = "sumOfUByte")
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.sequences.Sequence<kotlin.UByte>.sum(): kotlin.UInt
|
||||
|
||||
@kotlin.jvm.JvmName(name = "sumOfUInt")
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.sequences.Sequence<kotlin.UInt>.sum(): kotlin.UInt
|
||||
|
||||
@kotlin.jvm.JvmName(name = "sumOfULong")
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.sequences.Sequence<kotlin.ULong>.sum(): kotlin.ULong
|
||||
|
||||
@kotlin.jvm.JvmName(name = "sumOfUShort")
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
public fun kotlin.sequences.Sequence<kotlin.UShort>.sum(): kotlin.UInt
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.sumBy(selector: (T) -> kotlin.Int): kotlin.Int
|
||||
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.sumByDouble(selector: (T) -> kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.jvm.JvmName(name = "sumOfDouble")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.sumOf(selector: (T) -> kotlin.Double): kotlin.Double
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.jvm.JvmName(name = "sumOfInt")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.sumOf(selector: (T) -> kotlin.Int): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.jvm.JvmName(name = "sumOfLong")
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.sumOf(selector: (T) -> kotlin.Long): kotlin.Long
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.jvm.JvmName(name = "sumOfUInt")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.sumOf(selector: (T) -> kotlin.UInt): kotlin.UInt
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.4")
|
||||
@kotlin.OverloadResolutionByLambdaReturnType
|
||||
@kotlin.jvm.JvmName(name = "sumOfULong")
|
||||
@kotlin.ExperimentalUnsignedTypes
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <T> kotlin.sequences.Sequence<T>.sumOf(selector: (T) -> kotlin.ULong): kotlin.ULong
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.take(n: kotlin.Int): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.takeWhile(predicate: (T) -> kotlin.Boolean): kotlin.sequences.Sequence<T>
|
||||
|
||||
public fun <T, C : kotlin.collections.MutableCollection<in T>> kotlin.sequences.Sequence<T>.toCollection(destination: C): C
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.toHashSet(): kotlin.collections.HashSet<T>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.toList(): kotlin.collections.List<T>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.toMutableList(): kotlin.collections.MutableList<T>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.toMutableSet(): kotlin.collections.MutableSet<T>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.toSet(): kotlin.collections.Set<T>
|
||||
|
||||
public fun <T, R> kotlin.sequences.Sequence<kotlin.Pair<T, R>>.unzip(): kotlin.Pair<kotlin.collections.List<T>, kotlin.collections.List<R>>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun <T> kotlin.sequences.Sequence<T>.windowed(size: kotlin.Int, step: kotlin.Int = ..., partialWindows: kotlin.Boolean = ...): kotlin.sequences.Sequence<kotlin.collections.List<T>>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun <T, R> kotlin.sequences.Sequence<T>.windowed(size: kotlin.Int, step: kotlin.Int = ..., partialWindows: kotlin.Boolean = ..., transform: (kotlin.collections.List<T>) -> R): kotlin.sequences.Sequence<R>
|
||||
|
||||
public fun <T> kotlin.sequences.Sequence<T>.withIndex(): kotlin.sequences.Sequence<kotlin.collections.IndexedValue<T>>
|
||||
|
||||
public infix fun <T, R> kotlin.sequences.Sequence<T>.zip(other: kotlin.sequences.Sequence<R>): kotlin.sequences.Sequence<kotlin.Pair<T, R>>
|
||||
|
||||
public fun <T, R, V> kotlin.sequences.Sequence<T>.zip(other: kotlin.sequences.Sequence<R>, transform: (a: T, b: R) -> V): kotlin.sequences.Sequence<V>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun <T> kotlin.sequences.Sequence<T>.zipWithNext(): kotlin.sequences.Sequence<kotlin.Pair<T, T>>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.2")
|
||||
public fun <T, R> kotlin.sequences.Sequence<T>.zipWithNext(transform: (a: T, b: T) -> R): kotlin.sequences.Sequence<R>
|
||||
|
||||
public interface Sequence<out T> {
|
||||
public abstract operator fun iterator(): kotlin.collections.Iterator<T>
|
||||
}
|
||||
|
||||
@kotlin.coroutines.RestrictsSuspension
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public abstract class SequenceScope<in T> {
|
||||
public abstract suspend fun yield(value: T): kotlin.Unit
|
||||
|
||||
public final suspend fun yieldAll(elements: kotlin.collections.Iterable<T>): kotlin.Unit
|
||||
|
||||
public abstract suspend fun yieldAll(iterator: kotlin.collections.Iterator<T>): kotlin.Unit
|
||||
|
||||
public final suspend fun yieldAll(sequence: kotlin.sequences.Sequence<T>): kotlin.Unit
|
||||
}
|
||||
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use SequenceScope class instead.", replaceWith = kotlin.ReplaceWith(expression = "SequenceScope<T>", imports = {}))
|
||||
public typealias SequenceBuilder<T> = kotlin.sequences.SequenceScope<T>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,360 @@
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Double.days: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Int.days: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Long.days: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Double.hours: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Int.hours: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Long.hours: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Double.microseconds: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Int.microseconds: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Long.microseconds: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Double.milliseconds: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Int.milliseconds: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Long.milliseconds: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Double.minutes: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Int.minutes: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Long.minutes: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Double.nanoseconds: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Int.nanoseconds: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Long.nanoseconds: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Double.seconds: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Int.seconds: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public val kotlin.Long.seconds: kotlin.time.Duration { get; }
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public inline fun measureTime(block: () -> kotlin.Unit): kotlin.time.Duration
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public inline fun <T> measureTimedValue(block: () -> T): kotlin.time.TimedValue<T>
|
||||
|
||||
@kotlin.time.ExperimentalTime
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Comparing one TimeMark to another is not a well defined operation because these time marks could have been obtained from the different time sources.")
|
||||
public inline operator fun kotlin.time.TimeMark.compareTo(other: kotlin.time.TimeMark): kotlin.Int
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public inline fun kotlin.time.TimeSource.measureTime(block: () -> kotlin.Unit): kotlin.time.Duration
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public inline fun <T> kotlin.time.TimeSource.measureTimedValue(block: () -> T): kotlin.time.TimedValue<T>
|
||||
|
||||
@kotlin.time.ExperimentalTime
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.internal.InlineOnly
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Subtracting one TimeMark from another is not a well defined operation because these time marks could have been obtained from the different time sources.")
|
||||
public inline operator fun kotlin.time.TimeMark.minus(other: kotlin.time.TimeMark): kotlin.time.Duration
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Double.times(duration: kotlin.time.Duration): kotlin.time.Duration
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Int.times(duration: kotlin.time.Duration): kotlin.time.Duration
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public fun kotlin.Double.toDuration(unit: kotlin.time.DurationUnit): kotlin.time.Duration
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public fun kotlin.Int.toDuration(unit: kotlin.time.DurationUnit): kotlin.time.Duration
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public fun kotlin.Long.toDuration(unit: kotlin.time.DurationUnit): kotlin.time.Duration
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public abstract class AbstractDoubleTimeSource : kotlin.time.TimeSource {
|
||||
public constructor AbstractDoubleTimeSource(unit: kotlin.time.DurationUnit)
|
||||
|
||||
protected final val unit: kotlin.time.DurationUnit { get; }
|
||||
|
||||
public open override fun markNow(): kotlin.time.TimeMark
|
||||
|
||||
protected abstract fun read(): kotlin.Double
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public abstract class AbstractLongTimeSource : kotlin.time.TimeSource {
|
||||
public constructor AbstractLongTimeSource(unit: kotlin.time.DurationUnit)
|
||||
|
||||
protected final val unit: kotlin.time.DurationUnit { get; }
|
||||
|
||||
public open override fun markNow(): kotlin.time.TimeMark
|
||||
|
||||
protected abstract fun read(): kotlin.Long
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public final inline class Duration : kotlin.Comparable<kotlin.time.Duration> {
|
||||
public final val absoluteValue: kotlin.time.Duration { get; }
|
||||
|
||||
public final val inDays: kotlin.Double { get; }
|
||||
|
||||
public final val inHours: kotlin.Double { get; }
|
||||
|
||||
public final val inMicroseconds: kotlin.Double { get; }
|
||||
|
||||
public final val inMilliseconds: kotlin.Double { get; }
|
||||
|
||||
public final val inMinutes: kotlin.Double { get; }
|
||||
|
||||
public final val inNanoseconds: kotlin.Double { get; }
|
||||
|
||||
public final val inSeconds: kotlin.Double { get; }
|
||||
|
||||
public open override operator fun compareTo(other: kotlin.time.Duration): kotlin.Int
|
||||
|
||||
public final operator fun div(scale: kotlin.Double): kotlin.time.Duration
|
||||
|
||||
public final operator fun div(scale: kotlin.Int): kotlin.time.Duration
|
||||
|
||||
public final operator fun div(other: kotlin.time.Duration): kotlin.Double
|
||||
|
||||
public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public final fun isFinite(): kotlin.Boolean
|
||||
|
||||
public final fun isInfinite(): kotlin.Boolean
|
||||
|
||||
public final fun isNegative(): kotlin.Boolean
|
||||
|
||||
public final fun isPositive(): kotlin.Boolean
|
||||
|
||||
public final operator fun minus(other: kotlin.time.Duration): kotlin.time.Duration
|
||||
|
||||
public final operator fun plus(other: kotlin.time.Duration): kotlin.time.Duration
|
||||
|
||||
public final operator fun times(scale: kotlin.Double): kotlin.time.Duration
|
||||
|
||||
public final operator fun times(scale: kotlin.Int): kotlin.time.Duration
|
||||
|
||||
public final inline fun <T> toComponents(action: (days: kotlin.Int, hours: kotlin.Int, minutes: kotlin.Int, seconds: kotlin.Int, nanoseconds: kotlin.Int) -> T): T
|
||||
|
||||
public final inline fun <T> toComponents(action: (hours: kotlin.Int, minutes: kotlin.Int, seconds: kotlin.Int, nanoseconds: kotlin.Int) -> T): T
|
||||
|
||||
public final inline fun <T> toComponents(action: (minutes: kotlin.Int, seconds: kotlin.Int, nanoseconds: kotlin.Int) -> T): T
|
||||
|
||||
public final inline fun <T> toComponents(action: (seconds: kotlin.Long, nanoseconds: kotlin.Int) -> T): T
|
||||
|
||||
public final fun toDouble(unit: kotlin.time.DurationUnit): kotlin.Double
|
||||
|
||||
public final fun toInt(unit: kotlin.time.DurationUnit): kotlin.Int
|
||||
|
||||
public final fun toIsoString(): kotlin.String
|
||||
|
||||
public final fun toLong(unit: kotlin.time.DurationUnit): kotlin.Long
|
||||
|
||||
public final fun toLongMilliseconds(): kotlin.Long
|
||||
|
||||
public final fun toLongNanoseconds(): kotlin.Long
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
|
||||
public final fun toString(unit: kotlin.time.DurationUnit, decimals: kotlin.Int = ...): kotlin.String
|
||||
|
||||
public final operator fun unaryMinus(): kotlin.time.Duration
|
||||
|
||||
public companion object of Duration {
|
||||
public final val INFINITE: kotlin.time.Duration { get; }
|
||||
|
||||
public final val ZERO: kotlin.time.Duration { get; }
|
||||
|
||||
public final fun convert(value: kotlin.Double, sourceUnit: kotlin.time.DurationUnit, targetUnit: kotlin.time.DurationUnit): kotlin.Double
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public final enum class DurationUnit : kotlin.Enum<kotlin.time.DurationUnit> {
|
||||
enum entry NANOSECONDS
|
||||
|
||||
enum entry MICROSECONDS
|
||||
|
||||
enum entry MILLISECONDS
|
||||
|
||||
enum entry SECONDS
|
||||
|
||||
enum entry MINUTES
|
||||
|
||||
enum entry HOURS
|
||||
|
||||
enum entry DAYS
|
||||
}
|
||||
|
||||
@kotlin.Experimental(level = Level.ERROR)
|
||||
@kotlin.RequiresOptIn(level = Level.ERROR)
|
||||
@kotlin.annotation.MustBeDocumented
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.TYPEALIAS})
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
public final annotation class ExperimentalTime : kotlin.Annotation {
|
||||
public constructor ExperimentalTime()
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public final class TestTimeSource : kotlin.time.AbstractLongTimeSource {
|
||||
public constructor TestTimeSource()
|
||||
|
||||
public final operator fun plusAssign(duration: kotlin.time.Duration): kotlin.Unit
|
||||
|
||||
protected open override fun read(): kotlin.Long
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public abstract class TimeMark {
|
||||
public constructor TimeMark()
|
||||
|
||||
public abstract fun elapsedNow(): kotlin.time.Duration
|
||||
|
||||
public final fun hasNotPassedNow(): kotlin.Boolean
|
||||
|
||||
public final fun hasPassedNow(): kotlin.Boolean
|
||||
|
||||
public open operator fun minus(duration: kotlin.time.Duration): kotlin.time.TimeMark
|
||||
|
||||
public open operator fun plus(duration: kotlin.time.Duration): kotlin.time.TimeMark
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public interface TimeSource {
|
||||
public abstract fun markNow(): kotlin.time.TimeMark
|
||||
|
||||
public companion object of TimeSource {
|
||||
}
|
||||
|
||||
public object Monotonic : kotlin.time.TimeSource {
|
||||
public open override fun markNow(): kotlin.time.TimeMark
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
public final data class TimedValue<T> {
|
||||
public constructor TimedValue<T>(value: T, duration: kotlin.time.Duration)
|
||||
|
||||
public final val duration: kotlin.time.Duration { get; }
|
||||
|
||||
public final val value: T { get; }
|
||||
|
||||
public final operator fun component1(): T
|
||||
|
||||
public final operator fun component2(): kotlin.time.Duration
|
||||
|
||||
public final fun copy(value: T = ..., duration: kotlin.time.Duration = ...): kotlin.time.TimedValue<T>
|
||||
|
||||
public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
public open override fun hashCode(): kotlin.Int
|
||||
|
||||
public open override fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
@kotlin.Deprecated(message = "Use AbstractDoubleTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "AbstractDoubleTimeSource", imports = {"kotlin.time.AbstractDoubleTimeSource"}))
|
||||
public typealias AbstractDoubleClock = kotlin.time.AbstractDoubleTimeSource
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
@kotlin.Deprecated(message = "Use AbstractLongTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "AbstractLongTimeSource", imports = {"kotlin.time.AbstractLongTimeSource"}))
|
||||
public typealias AbstractLongClock = kotlin.time.AbstractLongTimeSource
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
@kotlin.Deprecated(message = "Use TimeSource interface instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeSource", imports = {"kotlin.time.TimeSource"}))
|
||||
public typealias Clock = kotlin.time.TimeSource
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
@kotlin.Deprecated(message = "Use TimeMark class instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeMark", imports = {"kotlin.time.TimeMark"}))
|
||||
public typealias ClockMark = kotlin.time.TimeMark
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
@kotlin.Deprecated(message = "Use TimeSource.Monotonic instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeSource.Monotonic", imports = {"kotlin.time.TimeSource"}))
|
||||
public typealias MonoClock = kotlin.time.TimeSource.Monotonic
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.3")
|
||||
@kotlin.time.ExperimentalTime
|
||||
@kotlin.Deprecated(message = "Use TestTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "TestTimeSource", imports = {"kotlin.time.TestTimeSource"}))
|
||||
public typealias TestClock = kotlin.time.TestTimeSource
|
||||
Reference in New Issue
Block a user