Allow to annotate generated API with SinceKotlin and annotate new array functions.
This commit is contained in:
@@ -556,6 +556,7 @@ public inline operator fun CharArray.plus(elements: CharArray): CharArray {
|
|||||||
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayEquals")
|
@library("arrayEquals")
|
||||||
public infix fun <T> Array<out T>.contentEquals(other: Array<out T>): Boolean {
|
public infix fun <T> Array<out T>.contentEquals(other: Array<out T>): Boolean {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -565,6 +566,7 @@ public infix fun <T> Array<out T>.contentEquals(other: Array<out T>): Boolean {
|
|||||||
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayEquals")
|
@library("arrayEquals")
|
||||||
public infix fun ByteArray.contentEquals(other: ByteArray): Boolean {
|
public infix fun ByteArray.contentEquals(other: ByteArray): Boolean {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -574,6 +576,7 @@ public infix fun ByteArray.contentEquals(other: ByteArray): Boolean {
|
|||||||
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayEquals")
|
@library("arrayEquals")
|
||||||
public infix fun ShortArray.contentEquals(other: ShortArray): Boolean {
|
public infix fun ShortArray.contentEquals(other: ShortArray): Boolean {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -583,6 +586,7 @@ public infix fun ShortArray.contentEquals(other: ShortArray): Boolean {
|
|||||||
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayEquals")
|
@library("arrayEquals")
|
||||||
public infix fun IntArray.contentEquals(other: IntArray): Boolean {
|
public infix fun IntArray.contentEquals(other: IntArray): Boolean {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -592,6 +596,7 @@ public infix fun IntArray.contentEquals(other: IntArray): Boolean {
|
|||||||
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayEquals")
|
@library("arrayEquals")
|
||||||
public infix fun LongArray.contentEquals(other: LongArray): Boolean {
|
public infix fun LongArray.contentEquals(other: LongArray): Boolean {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -601,6 +606,7 @@ public infix fun LongArray.contentEquals(other: LongArray): Boolean {
|
|||||||
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayEquals")
|
@library("arrayEquals")
|
||||||
public infix fun FloatArray.contentEquals(other: FloatArray): Boolean {
|
public infix fun FloatArray.contentEquals(other: FloatArray): Boolean {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -610,6 +616,7 @@ public infix fun FloatArray.contentEquals(other: FloatArray): Boolean {
|
|||||||
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayEquals")
|
@library("arrayEquals")
|
||||||
public infix fun DoubleArray.contentEquals(other: DoubleArray): Boolean {
|
public infix fun DoubleArray.contentEquals(other: DoubleArray): Boolean {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -619,6 +626,7 @@ public infix fun DoubleArray.contentEquals(other: DoubleArray): Boolean {
|
|||||||
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayEquals")
|
@library("arrayEquals")
|
||||||
public infix fun BooleanArray.contentEquals(other: BooleanArray): Boolean {
|
public infix fun BooleanArray.contentEquals(other: BooleanArray): Boolean {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -628,6 +636,7 @@ public infix fun BooleanArray.contentEquals(other: BooleanArray): Boolean {
|
|||||||
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
* Returns `true` if the two specified arrays are *structurally* equal to one another,
|
||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayEquals")
|
@library("arrayEquals")
|
||||||
public infix fun CharArray.contentEquals(other: CharArray): Boolean {
|
public infix fun CharArray.contentEquals(other: CharArray): Boolean {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -640,6 +649,7 @@ public infix fun CharArray.contentEquals(other: CharArray): Boolean {
|
|||||||
* If two corresponding elements are nested arrays, they are also compared deeply.
|
* If two corresponding elements are nested arrays, they are also compared deeply.
|
||||||
* If any of arrays contains itself on any nesting level the behavior is undefined.
|
* If any of arrays contains itself on any nesting level the behavior is undefined.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayDeepEquals")
|
@library("arrayDeepEquals")
|
||||||
public infix fun <T> Array<out T>.contentDeepEquals(other: Array<out T>): Boolean {
|
public infix fun <T> Array<out T>.contentDeepEquals(other: Array<out T>): Boolean {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -648,6 +658,7 @@ public infix fun <T> Array<out T>.contentDeepEquals(other: Array<out T>): Boolea
|
|||||||
/**
|
/**
|
||||||
* Returns a string representation of the contents of the specified array as if it is a [List].
|
* Returns a string representation of the contents of the specified array as if it is a [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayToString")
|
@library("arrayToString")
|
||||||
public fun <T> Array<out T>.contentToString(): String {
|
public fun <T> Array<out T>.contentToString(): String {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -656,6 +667,7 @@ public fun <T> Array<out T>.contentToString(): String {
|
|||||||
/**
|
/**
|
||||||
* Returns a string representation of the contents of the specified array as if it is a [List].
|
* Returns a string representation of the contents of the specified array as if it is a [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayToString")
|
@library("arrayToString")
|
||||||
public fun ByteArray.contentToString(): String {
|
public fun ByteArray.contentToString(): String {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -664,6 +676,7 @@ public fun ByteArray.contentToString(): String {
|
|||||||
/**
|
/**
|
||||||
* Returns a string representation of the contents of the specified array as if it is a [List].
|
* Returns a string representation of the contents of the specified array as if it is a [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayToString")
|
@library("arrayToString")
|
||||||
public fun ShortArray.contentToString(): String {
|
public fun ShortArray.contentToString(): String {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -672,6 +685,7 @@ public fun ShortArray.contentToString(): String {
|
|||||||
/**
|
/**
|
||||||
* Returns a string representation of the contents of the specified array as if it is a [List].
|
* Returns a string representation of the contents of the specified array as if it is a [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayToString")
|
@library("arrayToString")
|
||||||
public fun IntArray.contentToString(): String {
|
public fun IntArray.contentToString(): String {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -680,6 +694,7 @@ public fun IntArray.contentToString(): String {
|
|||||||
/**
|
/**
|
||||||
* Returns a string representation of the contents of the specified array as if it is a [List].
|
* Returns a string representation of the contents of the specified array as if it is a [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayToString")
|
@library("arrayToString")
|
||||||
public fun LongArray.contentToString(): String {
|
public fun LongArray.contentToString(): String {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -688,6 +703,7 @@ public fun LongArray.contentToString(): String {
|
|||||||
/**
|
/**
|
||||||
* Returns a string representation of the contents of the specified array as if it is a [List].
|
* Returns a string representation of the contents of the specified array as if it is a [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayToString")
|
@library("arrayToString")
|
||||||
public fun FloatArray.contentToString(): String {
|
public fun FloatArray.contentToString(): String {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -696,6 +712,7 @@ public fun FloatArray.contentToString(): String {
|
|||||||
/**
|
/**
|
||||||
* Returns a string representation of the contents of the specified array as if it is a [List].
|
* Returns a string representation of the contents of the specified array as if it is a [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayToString")
|
@library("arrayToString")
|
||||||
public fun DoubleArray.contentToString(): String {
|
public fun DoubleArray.contentToString(): String {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -704,6 +721,7 @@ public fun DoubleArray.contentToString(): String {
|
|||||||
/**
|
/**
|
||||||
* Returns a string representation of the contents of the specified array as if it is a [List].
|
* Returns a string representation of the contents of the specified array as if it is a [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayToString")
|
@library("arrayToString")
|
||||||
public fun BooleanArray.contentToString(): String {
|
public fun BooleanArray.contentToString(): String {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -712,6 +730,7 @@ public fun BooleanArray.contentToString(): String {
|
|||||||
/**
|
/**
|
||||||
* Returns a string representation of the contents of the specified array as if it is a [List].
|
* Returns a string representation of the contents of the specified array as if it is a [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayToString")
|
@library("arrayToString")
|
||||||
public fun CharArray.contentToString(): String {
|
public fun CharArray.contentToString(): String {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -724,6 +743,7 @@ public fun CharArray.contentToString(): String {
|
|||||||
* If any of arrays contains itself on any nesting level that reference
|
* If any of arrays contains itself on any nesting level that reference
|
||||||
* is rendered as `"[...]"` to prevent recursion.
|
* is rendered as `"[...]"` to prevent recursion.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayDeepToString")
|
@library("arrayDeepToString")
|
||||||
public fun <T> Array<out T>.contentDeepToString(): String {
|
public fun <T> Array<out T>.contentDeepToString(): String {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -732,6 +752,7 @@ public fun <T> Array<out T>.contentDeepToString(): String {
|
|||||||
/**
|
/**
|
||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayHashCode")
|
@library("arrayHashCode")
|
||||||
public fun <T> Array<out T>.contentHashCode(): Int {
|
public fun <T> Array<out T>.contentHashCode(): Int {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -740,6 +761,7 @@ public fun <T> Array<out T>.contentHashCode(): Int {
|
|||||||
/**
|
/**
|
||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayHashCode")
|
@library("arrayHashCode")
|
||||||
public fun ByteArray.contentHashCode(): Int {
|
public fun ByteArray.contentHashCode(): Int {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -748,6 +770,7 @@ public fun ByteArray.contentHashCode(): Int {
|
|||||||
/**
|
/**
|
||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayHashCode")
|
@library("arrayHashCode")
|
||||||
public fun ShortArray.contentHashCode(): Int {
|
public fun ShortArray.contentHashCode(): Int {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -756,6 +779,7 @@ public fun ShortArray.contentHashCode(): Int {
|
|||||||
/**
|
/**
|
||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayHashCode")
|
@library("arrayHashCode")
|
||||||
public fun IntArray.contentHashCode(): Int {
|
public fun IntArray.contentHashCode(): Int {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -764,6 +788,7 @@ public fun IntArray.contentHashCode(): Int {
|
|||||||
/**
|
/**
|
||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayHashCode")
|
@library("arrayHashCode")
|
||||||
public fun LongArray.contentHashCode(): Int {
|
public fun LongArray.contentHashCode(): Int {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -772,6 +797,7 @@ public fun LongArray.contentHashCode(): Int {
|
|||||||
/**
|
/**
|
||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayHashCode")
|
@library("arrayHashCode")
|
||||||
public fun FloatArray.contentHashCode(): Int {
|
public fun FloatArray.contentHashCode(): Int {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -780,6 +806,7 @@ public fun FloatArray.contentHashCode(): Int {
|
|||||||
/**
|
/**
|
||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayHashCode")
|
@library("arrayHashCode")
|
||||||
public fun DoubleArray.contentHashCode(): Int {
|
public fun DoubleArray.contentHashCode(): Int {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -788,6 +815,7 @@ public fun DoubleArray.contentHashCode(): Int {
|
|||||||
/**
|
/**
|
||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayHashCode")
|
@library("arrayHashCode")
|
||||||
public fun BooleanArray.contentHashCode(): Int {
|
public fun BooleanArray.contentHashCode(): Int {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -796,6 +824,7 @@ public fun BooleanArray.contentHashCode(): Int {
|
|||||||
/**
|
/**
|
||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayHashCode")
|
@library("arrayHashCode")
|
||||||
public fun CharArray.contentHashCode(): Int {
|
public fun CharArray.contentHashCode(): Int {
|
||||||
return noImpl
|
return noImpl
|
||||||
@@ -807,6 +836,7 @@ public fun CharArray.contentHashCode(): Int {
|
|||||||
*
|
*
|
||||||
* If any of arrays contains itself on any nesting level the behavior is undefined.
|
* If any of arrays contains itself on any nesting level the behavior is undefined.
|
||||||
*/
|
*/
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@library("arrayDeepHashCode")
|
@library("arrayDeepHashCode")
|
||||||
public fun <T> Array<out T>.contentDeepHashCode(): Int {
|
public fun <T> Array<out T>.contentDeepHashCode(): Int {
|
||||||
return noImpl
|
return noImpl
|
||||||
|
|||||||
@@ -5156,6 +5156,7 @@ public fun CharArray.sortedWith(comparator: Comparator<in Char>): List<Char> {
|
|||||||
* If any of arrays contains itself on any nesting level the behavior is undefined.
|
* If any of arrays contains itself on any nesting level the behavior is undefined.
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline infix fun <T> Array<out T>.contentDeepEquals(other: Array<out T>): Boolean {
|
public inline infix fun <T> Array<out T>.contentDeepEquals(other: Array<out T>): Boolean {
|
||||||
return Arrays.deepEquals(this, other)
|
return Arrays.deepEquals(this, other)
|
||||||
@@ -5168,6 +5169,7 @@ public inline infix fun <T> Array<out T>.contentDeepEquals(other: Array<out T>):
|
|||||||
* If any of arrays contains itself on any nesting level the behavior is undefined.
|
* If any of arrays contains itself on any nesting level the behavior is undefined.
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun <T> Array<out T>.contentDeepHashCode(): Int {
|
public inline fun <T> Array<out T>.contentDeepHashCode(): Int {
|
||||||
return Arrays.deepHashCode(this)
|
return Arrays.deepHashCode(this)
|
||||||
@@ -5181,6 +5183,7 @@ public inline fun <T> Array<out T>.contentDeepHashCode(): Int {
|
|||||||
* is rendered as `"[...]"` to prevent recursion.
|
* is rendered as `"[...]"` to prevent recursion.
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun <T> Array<out T>.contentDeepToString(): String {
|
public inline fun <T> Array<out T>.contentDeepToString(): String {
|
||||||
return Arrays.deepToString(this)
|
return Arrays.deepToString(this)
|
||||||
@@ -5191,6 +5194,7 @@ public inline fun <T> Array<out T>.contentDeepToString(): String {
|
|||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline infix fun <T> Array<out T>.contentEquals(other: Array<out T>): Boolean {
|
public inline infix fun <T> Array<out T>.contentEquals(other: Array<out T>): Boolean {
|
||||||
return Arrays.equals(this, other)
|
return Arrays.equals(this, other)
|
||||||
@@ -5201,6 +5205,7 @@ public inline infix fun <T> Array<out T>.contentEquals(other: Array<out T>): Boo
|
|||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline infix fun ByteArray.contentEquals(other: ByteArray): Boolean {
|
public inline infix fun ByteArray.contentEquals(other: ByteArray): Boolean {
|
||||||
return Arrays.equals(this, other)
|
return Arrays.equals(this, other)
|
||||||
@@ -5211,6 +5216,7 @@ public inline infix fun ByteArray.contentEquals(other: ByteArray): Boolean {
|
|||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline infix fun ShortArray.contentEquals(other: ShortArray): Boolean {
|
public inline infix fun ShortArray.contentEquals(other: ShortArray): Boolean {
|
||||||
return Arrays.equals(this, other)
|
return Arrays.equals(this, other)
|
||||||
@@ -5221,6 +5227,7 @@ public inline infix fun ShortArray.contentEquals(other: ShortArray): Boolean {
|
|||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline infix fun IntArray.contentEquals(other: IntArray): Boolean {
|
public inline infix fun IntArray.contentEquals(other: IntArray): Boolean {
|
||||||
return Arrays.equals(this, other)
|
return Arrays.equals(this, other)
|
||||||
@@ -5231,6 +5238,7 @@ public inline infix fun IntArray.contentEquals(other: IntArray): Boolean {
|
|||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline infix fun LongArray.contentEquals(other: LongArray): Boolean {
|
public inline infix fun LongArray.contentEquals(other: LongArray): Boolean {
|
||||||
return Arrays.equals(this, other)
|
return Arrays.equals(this, other)
|
||||||
@@ -5241,6 +5249,7 @@ public inline infix fun LongArray.contentEquals(other: LongArray): Boolean {
|
|||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline infix fun FloatArray.contentEquals(other: FloatArray): Boolean {
|
public inline infix fun FloatArray.contentEquals(other: FloatArray): Boolean {
|
||||||
return Arrays.equals(this, other)
|
return Arrays.equals(this, other)
|
||||||
@@ -5251,6 +5260,7 @@ public inline infix fun FloatArray.contentEquals(other: FloatArray): Boolean {
|
|||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline infix fun DoubleArray.contentEquals(other: DoubleArray): Boolean {
|
public inline infix fun DoubleArray.contentEquals(other: DoubleArray): Boolean {
|
||||||
return Arrays.equals(this, other)
|
return Arrays.equals(this, other)
|
||||||
@@ -5261,6 +5271,7 @@ public inline infix fun DoubleArray.contentEquals(other: DoubleArray): Boolean {
|
|||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline infix fun BooleanArray.contentEquals(other: BooleanArray): Boolean {
|
public inline infix fun BooleanArray.contentEquals(other: BooleanArray): Boolean {
|
||||||
return Arrays.equals(this, other)
|
return Arrays.equals(this, other)
|
||||||
@@ -5271,6 +5282,7 @@ public inline infix fun BooleanArray.contentEquals(other: BooleanArray): Boolean
|
|||||||
* i.e. contain the same number of the same elements in the same order.
|
* i.e. contain the same number of the same elements in the same order.
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline infix fun CharArray.contentEquals(other: CharArray): Boolean {
|
public inline infix fun CharArray.contentEquals(other: CharArray): Boolean {
|
||||||
return Arrays.equals(this, other)
|
return Arrays.equals(this, other)
|
||||||
@@ -5280,6 +5292,7 @@ public inline infix fun CharArray.contentEquals(other: CharArray): Boolean {
|
|||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun <T> Array<out T>.contentHashCode(): Int {
|
public inline fun <T> Array<out T>.contentHashCode(): Int {
|
||||||
return Arrays.hashCode(this)
|
return Arrays.hashCode(this)
|
||||||
@@ -5289,6 +5302,7 @@ public inline fun <T> Array<out T>.contentHashCode(): Int {
|
|||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun ByteArray.contentHashCode(): Int {
|
public inline fun ByteArray.contentHashCode(): Int {
|
||||||
return Arrays.hashCode(this)
|
return Arrays.hashCode(this)
|
||||||
@@ -5298,6 +5312,7 @@ public inline fun ByteArray.contentHashCode(): Int {
|
|||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun ShortArray.contentHashCode(): Int {
|
public inline fun ShortArray.contentHashCode(): Int {
|
||||||
return Arrays.hashCode(this)
|
return Arrays.hashCode(this)
|
||||||
@@ -5307,6 +5322,7 @@ public inline fun ShortArray.contentHashCode(): Int {
|
|||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun IntArray.contentHashCode(): Int {
|
public inline fun IntArray.contentHashCode(): Int {
|
||||||
return Arrays.hashCode(this)
|
return Arrays.hashCode(this)
|
||||||
@@ -5316,6 +5332,7 @@ public inline fun IntArray.contentHashCode(): Int {
|
|||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun LongArray.contentHashCode(): Int {
|
public inline fun LongArray.contentHashCode(): Int {
|
||||||
return Arrays.hashCode(this)
|
return Arrays.hashCode(this)
|
||||||
@@ -5325,6 +5342,7 @@ public inline fun LongArray.contentHashCode(): Int {
|
|||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun FloatArray.contentHashCode(): Int {
|
public inline fun FloatArray.contentHashCode(): Int {
|
||||||
return Arrays.hashCode(this)
|
return Arrays.hashCode(this)
|
||||||
@@ -5334,6 +5352,7 @@ public inline fun FloatArray.contentHashCode(): Int {
|
|||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun DoubleArray.contentHashCode(): Int {
|
public inline fun DoubleArray.contentHashCode(): Int {
|
||||||
return Arrays.hashCode(this)
|
return Arrays.hashCode(this)
|
||||||
@@ -5343,6 +5362,7 @@ public inline fun DoubleArray.contentHashCode(): Int {
|
|||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun BooleanArray.contentHashCode(): Int {
|
public inline fun BooleanArray.contentHashCode(): Int {
|
||||||
return Arrays.hashCode(this)
|
return Arrays.hashCode(this)
|
||||||
@@ -5352,6 +5372,7 @@ public inline fun BooleanArray.contentHashCode(): Int {
|
|||||||
* Returns a hash code based on the contents of this array as if it is [List].
|
* Returns a hash code based on the contents of this array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun CharArray.contentHashCode(): Int {
|
public inline fun CharArray.contentHashCode(): Int {
|
||||||
return Arrays.hashCode(this)
|
return Arrays.hashCode(this)
|
||||||
@@ -5361,6 +5382,7 @@ public inline fun CharArray.contentHashCode(): Int {
|
|||||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun <T> Array<out T>.contentToString(): String {
|
public inline fun <T> Array<out T>.contentToString(): String {
|
||||||
return Arrays.toString(this)
|
return Arrays.toString(this)
|
||||||
@@ -5370,6 +5392,7 @@ public inline fun <T> Array<out T>.contentToString(): String {
|
|||||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun ByteArray.contentToString(): String {
|
public inline fun ByteArray.contentToString(): String {
|
||||||
return Arrays.toString(this)
|
return Arrays.toString(this)
|
||||||
@@ -5379,6 +5402,7 @@ public inline fun ByteArray.contentToString(): String {
|
|||||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun ShortArray.contentToString(): String {
|
public inline fun ShortArray.contentToString(): String {
|
||||||
return Arrays.toString(this)
|
return Arrays.toString(this)
|
||||||
@@ -5388,6 +5412,7 @@ public inline fun ShortArray.contentToString(): String {
|
|||||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun IntArray.contentToString(): String {
|
public inline fun IntArray.contentToString(): String {
|
||||||
return Arrays.toString(this)
|
return Arrays.toString(this)
|
||||||
@@ -5397,6 +5422,7 @@ public inline fun IntArray.contentToString(): String {
|
|||||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun LongArray.contentToString(): String {
|
public inline fun LongArray.contentToString(): String {
|
||||||
return Arrays.toString(this)
|
return Arrays.toString(this)
|
||||||
@@ -5406,6 +5432,7 @@ public inline fun LongArray.contentToString(): String {
|
|||||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun FloatArray.contentToString(): String {
|
public inline fun FloatArray.contentToString(): String {
|
||||||
return Arrays.toString(this)
|
return Arrays.toString(this)
|
||||||
@@ -5415,6 +5442,7 @@ public inline fun FloatArray.contentToString(): String {
|
|||||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun DoubleArray.contentToString(): String {
|
public inline fun DoubleArray.contentToString(): String {
|
||||||
return Arrays.toString(this)
|
return Arrays.toString(this)
|
||||||
@@ -5424,6 +5452,7 @@ public inline fun DoubleArray.contentToString(): String {
|
|||||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun BooleanArray.contentToString(): String {
|
public inline fun BooleanArray.contentToString(): String {
|
||||||
return Arrays.toString(this)
|
return Arrays.toString(this)
|
||||||
@@ -5433,6 +5462,7 @@ public inline fun BooleanArray.contentToString(): String {
|
|||||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||||
*/
|
*/
|
||||||
@kotlin.jvm.JvmVersion
|
@kotlin.jvm.JvmVersion
|
||||||
|
@SinceKotlin("1.1")
|
||||||
@kotlin.internal.InlineOnly
|
@kotlin.internal.InlineOnly
|
||||||
public inline fun CharArray.contentToString(): String {
|
public inline fun CharArray.contentToString(): String {
|
||||||
return Arrays.toString(this)
|
return Arrays.toString(this)
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ fun arrays(): List<GenericFunction> {
|
|||||||
templates add f("contentEquals(other: SELF)") {
|
templates add f("contentEquals(other: SELF)") {
|
||||||
only(ArraysOfObjects, ArraysOfPrimitives)
|
only(ArraysOfObjects, ArraysOfPrimitives)
|
||||||
jvmOnly(true)
|
jvmOnly(true)
|
||||||
|
since("1.1")
|
||||||
inline(Inline.Only)
|
inline(Inline.Only)
|
||||||
infix(true)
|
infix(true)
|
||||||
doc {
|
doc {
|
||||||
@@ -62,6 +63,7 @@ fun arrays(): List<GenericFunction> {
|
|||||||
templates add f("contentDeepEquals(other: SELF)") {
|
templates add f("contentDeepEquals(other: SELF)") {
|
||||||
only(ArraysOfObjects)
|
only(ArraysOfObjects)
|
||||||
jvmOnly(true)
|
jvmOnly(true)
|
||||||
|
since("1.1")
|
||||||
inline(Inline.Only)
|
inline(Inline.Only)
|
||||||
infix(true)
|
infix(true)
|
||||||
doc {
|
doc {
|
||||||
@@ -80,6 +82,7 @@ fun arrays(): List<GenericFunction> {
|
|||||||
templates add f("contentToString()") {
|
templates add f("contentToString()") {
|
||||||
only(ArraysOfObjects, ArraysOfPrimitives)
|
only(ArraysOfObjects, ArraysOfPrimitives)
|
||||||
jvmOnly(true)
|
jvmOnly(true)
|
||||||
|
since("1.1")
|
||||||
inline(Inline.Only)
|
inline(Inline.Only)
|
||||||
doc { "Returns a string representation of the contents of the specified array as if it is [List]." }
|
doc { "Returns a string representation of the contents of the specified array as if it is [List]." }
|
||||||
returns("String")
|
returns("String")
|
||||||
@@ -89,6 +92,7 @@ fun arrays(): List<GenericFunction> {
|
|||||||
templates add f("contentDeepToString()") {
|
templates add f("contentDeepToString()") {
|
||||||
only(ArraysOfObjects)
|
only(ArraysOfObjects)
|
||||||
jvmOnly(true)
|
jvmOnly(true)
|
||||||
|
since("1.1")
|
||||||
inline(Inline.Only)
|
inline(Inline.Only)
|
||||||
doc {
|
doc {
|
||||||
"""
|
"""
|
||||||
@@ -106,6 +110,7 @@ fun arrays(): List<GenericFunction> {
|
|||||||
templates add f("contentHashCode()") {
|
templates add f("contentHashCode()") {
|
||||||
only(ArraysOfObjects, ArraysOfPrimitives)
|
only(ArraysOfObjects, ArraysOfPrimitives)
|
||||||
jvmOnly(true)
|
jvmOnly(true)
|
||||||
|
since("1.1")
|
||||||
inline(Inline.Only)
|
inline(Inline.Only)
|
||||||
doc {
|
doc {
|
||||||
"Returns a hash code based on the contents of this array as if it is [List]."
|
"Returns a hash code based on the contents of this array as if it is [List]."
|
||||||
@@ -117,6 +122,7 @@ fun arrays(): List<GenericFunction> {
|
|||||||
templates add f("contentDeepHashCode()") {
|
templates add f("contentDeepHashCode()") {
|
||||||
only(ArraysOfObjects)
|
only(ArraysOfObjects)
|
||||||
jvmOnly(true)
|
jvmOnly(true)
|
||||||
|
since("1.1")
|
||||||
inline(Inline.Only)
|
inline(Inline.Only)
|
||||||
doc {
|
doc {
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -167,6 +167,7 @@ fun specialJS(): List<GenericFunction> {
|
|||||||
|
|
||||||
templates add f("contentEquals(other: SELF)") {
|
templates add f("contentEquals(other: SELF)") {
|
||||||
only(ArraysOfObjects, ArraysOfPrimitives)
|
only(ArraysOfObjects, ArraysOfPrimitives)
|
||||||
|
since("1.1")
|
||||||
infix(true)
|
infix(true)
|
||||||
doc {
|
doc {
|
||||||
"""
|
"""
|
||||||
@@ -181,6 +182,7 @@ fun specialJS(): List<GenericFunction> {
|
|||||||
|
|
||||||
templates add f("contentDeepEquals(other: SELF)") {
|
templates add f("contentDeepEquals(other: SELF)") {
|
||||||
only(ArraysOfObjects)
|
only(ArraysOfObjects)
|
||||||
|
since("1.1")
|
||||||
infix(true)
|
infix(true)
|
||||||
doc {
|
doc {
|
||||||
"""
|
"""
|
||||||
@@ -198,6 +200,7 @@ fun specialJS(): List<GenericFunction> {
|
|||||||
|
|
||||||
templates add f("contentToString()") {
|
templates add f("contentToString()") {
|
||||||
only(ArraysOfObjects, ArraysOfPrimitives)
|
only(ArraysOfObjects, ArraysOfPrimitives)
|
||||||
|
since("1.1")
|
||||||
doc { "Returns a string representation of the contents of the specified array as if it is a [List]." }
|
doc { "Returns a string representation of the contents of the specified array as if it is a [List]." }
|
||||||
annotations("""@library("arrayToString")""")
|
annotations("""@library("arrayToString")""")
|
||||||
returns("String")
|
returns("String")
|
||||||
@@ -206,6 +209,7 @@ fun specialJS(): List<GenericFunction> {
|
|||||||
|
|
||||||
templates add f("contentDeepToString()") {
|
templates add f("contentDeepToString()") {
|
||||||
only(ArraysOfObjects)
|
only(ArraysOfObjects)
|
||||||
|
since("1.1")
|
||||||
doc {
|
doc {
|
||||||
"""
|
"""
|
||||||
Returns a string representation of the contents of this array as if it is a [List].
|
Returns a string representation of the contents of this array as if it is a [List].
|
||||||
@@ -222,6 +226,7 @@ fun specialJS(): List<GenericFunction> {
|
|||||||
|
|
||||||
templates add f("contentHashCode()") {
|
templates add f("contentHashCode()") {
|
||||||
only(ArraysOfObjects, ArraysOfPrimitives)
|
only(ArraysOfObjects, ArraysOfPrimitives)
|
||||||
|
since("1.1")
|
||||||
doc {
|
doc {
|
||||||
"Returns a hash code based on the contents of this array as if it is [List]."
|
"Returns a hash code based on the contents of this array as if it is [List]."
|
||||||
}
|
}
|
||||||
@@ -232,6 +237,7 @@ fun specialJS(): List<GenericFunction> {
|
|||||||
|
|
||||||
templates add f("contentDeepHashCode()") {
|
templates add f("contentDeepHashCode()") {
|
||||||
only(ArraysOfObjects)
|
only(ArraysOfObjects)
|
||||||
|
since("1.1")
|
||||||
doc {
|
doc {
|
||||||
"""
|
"""
|
||||||
Returns a hash code based on the contents of this array as if it is [List].
|
Returns a hash code based on the contents of this array as if it is [List].
|
||||||
|
|||||||
@@ -142,6 +142,7 @@ class GenericFunction(val signature: String, val keyword: String = "fun") {
|
|||||||
val platformName = PrimitiveProperty<String>()
|
val platformName = PrimitiveProperty<String>()
|
||||||
val inline = InlineProperty()
|
val inline = InlineProperty()
|
||||||
val jvmOnly = FamilyProperty<Boolean>()
|
val jvmOnly = FamilyProperty<Boolean>()
|
||||||
|
val since = FamilyProperty<String>()
|
||||||
val typeParams = ArrayList<String>()
|
val typeParams = ArrayList<String>()
|
||||||
val returns = FamilyProperty<String>()
|
val returns = FamilyProperty<String>()
|
||||||
val operator = FamilyProperty<Boolean>()
|
val operator = FamilyProperty<Boolean>()
|
||||||
@@ -395,6 +396,9 @@ class GenericFunction(val signature: String, val keyword: String = "fun") {
|
|||||||
if (jvmOnly[f] ?: false) {
|
if (jvmOnly[f] ?: false) {
|
||||||
builder.append("@kotlin.jvm.JvmVersion\n")
|
builder.append("@kotlin.jvm.JvmVersion\n")
|
||||||
}
|
}
|
||||||
|
since[f]?.let { since ->
|
||||||
|
builder.append("@SinceKotlin(\"$since\")\n")
|
||||||
|
}
|
||||||
|
|
||||||
annotations[f]?.let { builder.append(it).append('\n') }
|
annotations[f]?.let { builder.append(it).append('\n') }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user