Generate extensions for unsigned arrays and provide tests for them

- contentEquals, contentToString, contentHashCode
- as[Signed]Array, as[Unsigned]Array
- to[Signed]Array, to[Unsigned]Array
- toTypedArray
- copyOf(), copyOf(newSize), copyOfRange(...)
This commit is contained in:
Ilya Gorbunov
2018-08-15 19:43:29 +03:00
parent 6360cc3cb5
commit 4df665bc78
5 changed files with 876 additions and 78 deletions
@@ -2458,6 +2458,25 @@ public abstract class kotlin/collections/ShortIterator : java/util/Iterator, kot
public fun remove ()V
}
public final class kotlin/collections/UArraysKt {
public static final fun contentEquals ([B[B)Z
public static final fun contentEquals ([I[I)Z
public static final fun contentEquals ([J[J)Z
public static final fun contentEquals ([S[S)Z
public static final fun contentHashCode ([B)I
public static final fun contentHashCode ([I)I
public static final fun contentHashCode ([J)I
public static final fun contentHashCode ([S)I
public static final fun contentToString ([B)Ljava/lang/String;
public static final fun contentToString ([I)Ljava/lang/String;
public static final fun contentToString ([J)Ljava/lang/String;
public static final fun contentToString ([S)Ljava/lang/String;
public static final fun toTypedArray ([B)[Lkotlin/UByte;
public static final fun toTypedArray ([I)[Lkotlin/UInt;
public static final fun toTypedArray ([J)[Lkotlin/ULong;
public static final fun toTypedArray ([S)[Lkotlin/UShort;
}
public abstract class kotlin/collections/UByteIterator : java/util/Iterator, kotlin/jvm/internal/markers/KMappedMarker {
public fun <init> ()V
public final fun next ()B