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,
|
||||
* i.e. contain the same number of the same elements in the same order.
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayEquals")
|
||||
public infix fun <T> Array<out T>.contentEquals(other: Array<out T>): Boolean {
|
||||
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,
|
||||
* i.e. contain the same number of the same elements in the same order.
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayEquals")
|
||||
public infix fun ByteArray.contentEquals(other: ByteArray): Boolean {
|
||||
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,
|
||||
* i.e. contain the same number of the same elements in the same order.
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayEquals")
|
||||
public infix fun ShortArray.contentEquals(other: ShortArray): Boolean {
|
||||
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,
|
||||
* i.e. contain the same number of the same elements in the same order.
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayEquals")
|
||||
public infix fun IntArray.contentEquals(other: IntArray): Boolean {
|
||||
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,
|
||||
* i.e. contain the same number of the same elements in the same order.
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayEquals")
|
||||
public infix fun LongArray.contentEquals(other: LongArray): Boolean {
|
||||
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,
|
||||
* i.e. contain the same number of the same elements in the same order.
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayEquals")
|
||||
public infix fun FloatArray.contentEquals(other: FloatArray): Boolean {
|
||||
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,
|
||||
* i.e. contain the same number of the same elements in the same order.
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayEquals")
|
||||
public infix fun DoubleArray.contentEquals(other: DoubleArray): Boolean {
|
||||
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,
|
||||
* i.e. contain the same number of the same elements in the same order.
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayEquals")
|
||||
public infix fun BooleanArray.contentEquals(other: BooleanArray): Boolean {
|
||||
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,
|
||||
* i.e. contain the same number of the same elements in the same order.
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayEquals")
|
||||
public infix fun CharArray.contentEquals(other: CharArray): Boolean {
|
||||
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 any of arrays contains itself on any nesting level the behavior is undefined.
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayDeepEquals")
|
||||
public infix fun <T> Array<out T>.contentDeepEquals(other: Array<out T>): Boolean {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayToString")
|
||||
public fun <T> Array<out T>.contentToString(): String {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayToString")
|
||||
public fun ByteArray.contentToString(): String {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayToString")
|
||||
public fun ShortArray.contentToString(): String {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayToString")
|
||||
public fun IntArray.contentToString(): String {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayToString")
|
||||
public fun LongArray.contentToString(): String {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayToString")
|
||||
public fun FloatArray.contentToString(): String {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayToString")
|
||||
public fun DoubleArray.contentToString(): String {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayToString")
|
||||
public fun BooleanArray.contentToString(): String {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayToString")
|
||||
public fun CharArray.contentToString(): String {
|
||||
return noImpl
|
||||
@@ -724,6 +743,7 @@ public fun CharArray.contentToString(): String {
|
||||
* If any of arrays contains itself on any nesting level that reference
|
||||
* is rendered as `"[...]"` to prevent recursion.
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayDeepToString")
|
||||
public fun <T> Array<out T>.contentDeepToString(): String {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayHashCode")
|
||||
public fun <T> Array<out T>.contentHashCode(): Int {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayHashCode")
|
||||
public fun ByteArray.contentHashCode(): Int {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayHashCode")
|
||||
public fun ShortArray.contentHashCode(): Int {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayHashCode")
|
||||
public fun IntArray.contentHashCode(): Int {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayHashCode")
|
||||
public fun LongArray.contentHashCode(): Int {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayHashCode")
|
||||
public fun FloatArray.contentHashCode(): Int {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayHashCode")
|
||||
public fun DoubleArray.contentHashCode(): Int {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayHashCode")
|
||||
public fun BooleanArray.contentHashCode(): Int {
|
||||
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].
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayHashCode")
|
||||
public fun CharArray.contentHashCode(): Int {
|
||||
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.
|
||||
*/
|
||||
@SinceKotlin("1.1")
|
||||
@library("arrayDeepHashCode")
|
||||
public fun <T> Array<out T>.contentDeepHashCode(): Int {
|
||||
return noImpl
|
||||
|
||||
Reference in New Issue
Block a user