Drop functions hidden since 1.4 (inline-only or experimental in JVM)
Since it's no longer possible to use API version less than 1.4, these functions can be no longer called at all.
This commit is contained in:
committed by
Space Team
parent
bfeff81867
commit
448e9fc5e7
@@ -6820,114 +6820,6 @@ public expect fun <T> Array<out T>.contentDeepToString(): String
|
||||
@SinceKotlin("1.4")
|
||||
public expect fun <T> Array<out T>?.contentDeepToString(): String
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* The elements are compared for equality with the [equals][Any.equals] function.
|
||||
* For floating point numbers it means that `NaN` is equal to itself and `-0.0` is not equal to `0.0`.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect 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,
|
||||
* i.e. contain the same number of the same elements in the same order.
|
||||
*
|
||||
* The elements are compared for equality with the [equals][Any.equals] function.
|
||||
* For floating point numbers it means that `NaN` is equal to itself and `-0.0` is not equal to `0.0`.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect infix fun ByteArray.contentEquals(other: ByteArray): Boolean
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* The elements are compared for equality with the [equals][Any.equals] function.
|
||||
* For floating point numbers it means that `NaN` is equal to itself and `-0.0` is not equal to `0.0`.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect infix fun ShortArray.contentEquals(other: ShortArray): Boolean
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* The elements are compared for equality with the [equals][Any.equals] function.
|
||||
* For floating point numbers it means that `NaN` is equal to itself and `-0.0` is not equal to `0.0`.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect infix fun IntArray.contentEquals(other: IntArray): Boolean
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* The elements are compared for equality with the [equals][Any.equals] function.
|
||||
* For floating point numbers it means that `NaN` is equal to itself and `-0.0` is not equal to `0.0`.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect infix fun LongArray.contentEquals(other: LongArray): Boolean
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* The elements are compared for equality with the [equals][Any.equals] function.
|
||||
* For floating point numbers it means that `NaN` is equal to itself and `-0.0` is not equal to `0.0`.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect infix fun FloatArray.contentEquals(other: FloatArray): Boolean
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* The elements are compared for equality with the [equals][Any.equals] function.
|
||||
* For floating point numbers it means that `NaN` is equal to itself and `-0.0` is not equal to `0.0`.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect infix fun DoubleArray.contentEquals(other: DoubleArray): Boolean
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* The elements are compared for equality with the [equals][Any.equals] function.
|
||||
* For floating point numbers it means that `NaN` is equal to itself and `-0.0` is not equal to `0.0`.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect infix fun BooleanArray.contentEquals(other: BooleanArray): Boolean
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* The elements are compared for equality with the [equals][Any.equals] function.
|
||||
* For floating point numbers it means that `NaN` is equal to itself and `-0.0` is not equal to `0.0`.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect infix fun CharArray.contentEquals(other: CharArray): Boolean
|
||||
|
||||
/**
|
||||
* 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.
|
||||
@@ -7018,78 +6910,6 @@ public expect infix fun BooleanArray?.contentEquals(other: BooleanArray?): Boole
|
||||
@SinceKotlin("1.4")
|
||||
public expect infix fun CharArray?.contentEquals(other: CharArray?): Boolean
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun <T> Array<out T>.contentHashCode(): Int
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun ByteArray.contentHashCode(): Int
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun ShortArray.contentHashCode(): Int
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun IntArray.contentHashCode(): Int
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun LongArray.contentHashCode(): Int
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun FloatArray.contentHashCode(): Int
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun DoubleArray.contentHashCode(): Int
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun BooleanArray.contentHashCode(): Int
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun CharArray.contentHashCode(): Int
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@@ -7144,96 +6964,6 @@ public expect fun BooleanArray?.contentHashCode(): Int
|
||||
@SinceKotlin("1.4")
|
||||
public expect fun CharArray?.contentHashCode(): Int
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
* @sample samples.collections.Arrays.ContentOperations.contentToString
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun <T> Array<out T>.contentToString(): String
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
* @sample samples.collections.Arrays.ContentOperations.contentToString
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun ByteArray.contentToString(): String
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
* @sample samples.collections.Arrays.ContentOperations.contentToString
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun ShortArray.contentToString(): String
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
* @sample samples.collections.Arrays.ContentOperations.contentToString
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun IntArray.contentToString(): String
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
* @sample samples.collections.Arrays.ContentOperations.contentToString
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun LongArray.contentToString(): String
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
* @sample samples.collections.Arrays.ContentOperations.contentToString
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun FloatArray.contentToString(): String
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
* @sample samples.collections.Arrays.ContentOperations.contentToString
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun DoubleArray.contentToString(): String
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
* @sample samples.collections.Arrays.ContentOperations.contentToString
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun BooleanArray.contentToString(): String
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
* @sample samples.collections.Arrays.ContentOperations.contentToString
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.1")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
public expect fun CharArray.contentToString(): String
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
|
||||
@@ -3290,54 +3290,6 @@ public inline fun ShortArray.asUShortArray(): UShortArray {
|
||||
return UShortArray(this)
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.3")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@ExperimentalUnsignedTypes
|
||||
public infix fun UIntArray.contentEquals(other: UIntArray): Boolean {
|
||||
return this.contentEquals(other)
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.3")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@ExperimentalUnsignedTypes
|
||||
public infix fun ULongArray.contentEquals(other: ULongArray): Boolean {
|
||||
return this.contentEquals(other)
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.3")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@ExperimentalUnsignedTypes
|
||||
public infix fun UByteArray.contentEquals(other: UByteArray): Boolean {
|
||||
return this.contentEquals(other)
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.3")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@ExperimentalUnsignedTypes
|
||||
public infix fun UShortArray.contentEquals(other: UShortArray): Boolean {
|
||||
return this.contentEquals(other)
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
@@ -3378,50 +3330,6 @@ public infix fun UShortArray?.contentEquals(other: UShortArray?): Boolean {
|
||||
return this?.storage.contentEquals(other?.storage)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.3")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@ExperimentalUnsignedTypes
|
||||
public fun UIntArray.contentHashCode(): Int {
|
||||
return this.contentHashCode()
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.3")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@ExperimentalUnsignedTypes
|
||||
public fun ULongArray.contentHashCode(): Int {
|
||||
return this.contentHashCode()
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.3")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@ExperimentalUnsignedTypes
|
||||
public fun UByteArray.contentHashCode(): Int {
|
||||
return this.contentHashCode()
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.3")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@ExperimentalUnsignedTypes
|
||||
public fun UShortArray.contentHashCode(): Int {
|
||||
return this.contentHashCode()
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a hash code based on the contents of this array as if it is [List].
|
||||
*/
|
||||
@@ -3458,58 +3366,6 @@ public fun UShortArray?.contentHashCode(): Int {
|
||||
return this?.storage.contentHashCode()
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
* @sample samples.collections.Arrays.ContentOperations.contentToString
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.3")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@ExperimentalUnsignedTypes
|
||||
public fun UIntArray.contentToString(): String {
|
||||
return this.contentToString()
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
* @sample samples.collections.Arrays.ContentOperations.contentToString
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.3")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@ExperimentalUnsignedTypes
|
||||
public fun ULongArray.contentToString(): String {
|
||||
return this.contentToString()
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
* @sample samples.collections.Arrays.ContentOperations.contentToString
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.3")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@ExperimentalUnsignedTypes
|
||||
public fun UByteArray.contentToString(): String {
|
||||
return this.contentToString()
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
* @sample samples.collections.Arrays.ContentOperations.contentToString
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@SinceKotlin("1.3")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@ExperimentalUnsignedTypes
|
||||
public fun UShortArray.contentToString(): String {
|
||||
return this.contentToString()
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string representation of the contents of the specified array as if it is [List].
|
||||
*
|
||||
|
||||
@@ -337,15 +337,6 @@ public expect fun String.regionMatches(
|
||||
@SinceKotlin("1.2")
|
||||
public expect val String.Companion.CASE_INSENSITIVE_ORDER: Comparator<String>
|
||||
|
||||
|
||||
/**
|
||||
* Returns `true` if the content of this string is equal to the word "true", ignoring case, and `false` otherwise.
|
||||
*/
|
||||
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
|
||||
@DeprecatedSinceKotlin(hiddenSince = "1.4")
|
||||
@kotlin.internal.InlineOnly
|
||||
public expect fun String.toBoolean(): Boolean
|
||||
|
||||
/**
|
||||
* Returns `true` if this string is not `null` and its content is equal to the word "true", ignoring case, and `false` otherwise.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user