JS: regenerate stdlib
This commit is contained in:
@@ -844,64 +844,56 @@ public fun <T> Array<out T>.contentDeepHashCode(): Int {
|
|||||||
/**
|
/**
|
||||||
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
||||||
*/
|
*/
|
||||||
@native
|
public external fun <T> Array<out T>.sort(comparison: (T, T) -> Int): Unit {
|
||||||
public fun <T> Array<out T>.sort(comparison: (T, T) -> Int): Unit {
|
|
||||||
noImpl
|
noImpl
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
||||||
*/
|
*/
|
||||||
@native
|
public external fun ByteArray.sort(comparison: (Byte, Byte) -> Int): Unit {
|
||||||
public fun ByteArray.sort(comparison: (Byte, Byte) -> Int): Unit {
|
|
||||||
noImpl
|
noImpl
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
||||||
*/
|
*/
|
||||||
@native
|
public external fun ShortArray.sort(comparison: (Short, Short) -> Int): Unit {
|
||||||
public fun ShortArray.sort(comparison: (Short, Short) -> Int): Unit {
|
|
||||||
noImpl
|
noImpl
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
||||||
*/
|
*/
|
||||||
@native
|
public external fun IntArray.sort(comparison: (Int, Int) -> Int): Unit {
|
||||||
public fun IntArray.sort(comparison: (Int, Int) -> Int): Unit {
|
|
||||||
noImpl
|
noImpl
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
||||||
*/
|
*/
|
||||||
@native
|
public external fun LongArray.sort(comparison: (Long, Long) -> Int): Unit {
|
||||||
public fun LongArray.sort(comparison: (Long, Long) -> Int): Unit {
|
|
||||||
noImpl
|
noImpl
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
||||||
*/
|
*/
|
||||||
@native
|
public external fun FloatArray.sort(comparison: (Float, Float) -> Int): Unit {
|
||||||
public fun FloatArray.sort(comparison: (Float, Float) -> Int): Unit {
|
|
||||||
noImpl
|
noImpl
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
||||||
*/
|
*/
|
||||||
@native
|
public external fun DoubleArray.sort(comparison: (Double, Double) -> Int): Unit {
|
||||||
public fun DoubleArray.sort(comparison: (Double, Double) -> Int): Unit {
|
|
||||||
noImpl
|
noImpl
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
* Sorts the array in-place according to the order specified by the given [comparison] function.
|
||||||
*/
|
*/
|
||||||
@native
|
public external fun CharArray.sort(comparison: (Char, Char) -> Int): Unit {
|
||||||
public fun CharArray.sort(comparison: (Char, Char) -> Int): Unit {
|
|
||||||
noImpl
|
noImpl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user