Rabbit-R1/switch port/smali/smali_classes3/kotlin/UShortArray.smali

712 lines
17 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.class public final Lkotlin/UShortArray;
.super Ljava/lang/Object;
.source "UShortArray.kt"
# interfaces
.implements Ljava/util/Collection;
.implements Lkotlin/jvm/internal/markers/KMappedMarker;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lkotlin/UShortArray$Iterator;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Collection<",
"Lkotlin/UShort;",
">;",
"Lkotlin/jvm/internal/markers/KMappedMarker;"
}
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nUShortArray.kt\nKotlin\n*S Kotlin\n*F\n+ 1 UShortArray.kt\nkotlin/UShortArray\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,86:1\n1726#2,3:87\n*S KotlinDebug\n*F\n+ 1 UShortArray.kt\nkotlin/UShortArray\n*L\n62#1:87,3\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000F\n\u0002\u0018\u0002\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0003\n\u0002\u0010\u0017\n\u0002\u0008\u0006\n\u0002\u0010\u000b\n\u0002\u0008\t\n\u0002\u0010\u0000\n\u0002\u0008\u000c\n\u0002\u0010(\n\u0002\u0008\u0003\n\u0002\u0010\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u000e\n\u0002\u0008\u0004\u0008\u0087@\u0018\u00002\u0008\u0012\u0004\u0012\u00020\u00020\u0001:\u00012B\u0011\u0008\u0016\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0004\u0008\u0005\u0010\u0006B\u0011\u0008\u0001\u0012\u0006\u0010\u0007\u001a\u00020\u0008\u00a2\u0006\u0004\u0008\u0005\u0010\tJ\u0018\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0002H\u0096\u0002\u00a2\u0006\u0004\u0008\u0011\u0010\u0012J\u001d\u0010\u0013\u001a\u00020\u000f2\u000c\u0010\u0014\u001a\u0008\u0012\u0004\u0012\u00020\u00020\u0001H\u0016\u00a2\u0006\u0004\u0008\u0015\u0010\u0016J\u001a\u0010\u0017\u001a\u00020\u000f2\u0008\u0010\u0018\u001a\u0004\u0018\u00010\u0019H\u00d6\u0003\u00a2\u0006\u0004\u0008\u001a\u0010\u001bJ\u001b\u0010\u001c\u001a\u00020\u00022\u0006\u0010\u001d\u001a\u00020\u0004H\u0086\u0002\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008\u001e\u0010\u001fJ\u0010\u0010 \u001a\u00020\u0004H\u00d6\u0001\u00a2\u0006\u0004\u0008!\u0010\u000bJ\u000f\u0010\"\u001a\u00020\u000fH\u0016\u00a2\u0006\u0004\u0008#\u0010$J\u0016\u0010%\u001a\u0008\u0012\u0004\u0012\u00020\u00020&H\u0096\u0002\u00a2\u0006\u0004\u0008\'\u0010(J \u0010)\u001a\u00020*2\u0006\u0010\u001d\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0002H\u0086\u0002\u00a2\u0006\u0004\u0008,\u0010-J\u0010\u0010.\u001a\u00020/H\u00d6\u0001\u00a2\u0006\u0004\u00080\u00101R\u0014\u0010\u0003\u001a\u00020\u00048VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\n\u0010\u000bR\u0016\u0010\u0007\u001a\u00020\u00088\u0000X\u0081\u0004\u00a2\u0006\u0008\n\u0000\u0012\u0004\u0008\u000c\u0010\r\u0088\u0001\u0007\u0092\u0001\u00020\u0008\u0082\u0002\u0004\n\u0002\u0008!\u00a8\u00063"
}
d2 = {
"Lkotlin/UShortArray;",
"",
"Lkotlin/UShort;",
"size",
"",
"constructor-impl",
"(I)[S",
"storage",
"",
"([S)[S",
"getSize-impl",
"([S)I",
"getStorage$annotations",
"()V",
"contains",
"",
"element",
"contains-xj2QHRw",
"([SS)Z",
"containsAll",
"elements",
"containsAll-impl",
"([SLjava/util/Collection;)Z",
"equals",
"other",
"",
"equals-impl",
"([SLjava/lang/Object;)Z",
"get",
"index",
"get-Mh2AYeg",
"([SI)S",
"hashCode",
"hashCode-impl",
"isEmpty",
"isEmpty-impl",
"([S)Z",
"iterator",
"",
"iterator-impl",
"([S)Ljava/util/Iterator;",
"set",
"",
"value",
"set-01HTLdE",
"([SIS)V",
"toString",
"",
"toString-impl",
"([S)Ljava/lang/String;",
"Iterator",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
.annotation runtime Lkotlin/jvm/JvmInline;
.end annotation
# instance fields
.field private final storage:[S
# direct methods
.method private synthetic constructor <init>([S)V
.locals 0
.line 17
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lkotlin/UShortArray;->storage:[S
return-void
.end method
.method public static final synthetic box-impl([S)Lkotlin/UShortArray;
.locals 1
new-instance v0, Lkotlin/UShortArray;
invoke-direct {v0, p0}, Lkotlin/UShortArray;-><init>([S)V
return-object v0
.end method
.method public static constructor-impl(I)[S
.locals 0
.line 20
new-array p0, p0, [S
invoke-static {p0}, Lkotlin/UShortArray;->constructor-impl([S)[S
move-result-object p0
return-object p0
.end method
.method public static constructor-impl([S)[S
.locals 1
const-string v0, "storage"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static contains-xj2QHRw([SS)Z
.locals 0
.line 58
invoke-static {p0, p1}, Lkotlin/collections/ArraysKt;->contains([SS)Z
move-result p0
return p0
.end method
.method public static containsAll-impl([SLjava/util/Collection;)Z
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"([S",
"Ljava/util/Collection<",
"Lkotlin/UShort;",
">;)Z"
}
.end annotation
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 62
check-cast p1, Ljava/lang/Iterable;
.line 87
move-object v0, p1
check-cast v0, Ljava/util/Collection;
invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z
move-result v0
const/4 v1, 0x1
if-eqz v0, :cond_0
goto :goto_1
.line 88
:cond_0
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_2
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
.line 62
instance-of v2, v0, Lkotlin/UShort;
if-eqz v2, :cond_1
check-cast v0, Lkotlin/UShort;
invoke-virtual {v0}, Lkotlin/UShort;->unbox-impl()S
move-result v0
invoke-static {p0, v0}, Lkotlin/collections/ArraysKt;->contains([SS)Z
move-result v0
if-eqz v0, :cond_1
goto :goto_0
:cond_1
const/4 v1, 0x0
:cond_2
:goto_1
return v1
.end method
.method public static equals-impl([SLjava/lang/Object;)Z
.locals 2
instance-of v0, p1, Lkotlin/UShortArray;
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
check-cast p1, Lkotlin/UShortArray;
invoke-virtual {p1}, Lkotlin/UShortArray;->unbox-impl()[S
move-result-object p1
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p0
if-nez p0, :cond_1
return v1
:cond_1
const/4 p0, 0x1
return p0
.end method
.method public static final equals-impl0([S[S)Z
.locals 0
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p0
return p0
.end method
.method public static final get-Mh2AYeg([SI)S
.locals 0
.line 28
aget-short p0, p0, p1
invoke-static {p0}, Lkotlin/UShort;->constructor-impl(S)S
move-result p0
return p0
.end method
.method public static getSize-impl([S)I
.locals 0
.line 41
array-length p0, p0
return p0
.end method
.method public static synthetic getStorage$annotations()V
.locals 0
return-void
.end method
.method public static hashCode-impl([S)I
.locals 0
invoke-static {p0}, Ljava/util/Arrays;->hashCode([S)I
move-result p0
return p0
.end method
.method public static isEmpty-impl([S)Z
.locals 0
.line 65
array-length p0, p0
if-nez p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public static iterator-impl([S)Ljava/util/Iterator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"([S)",
"Ljava/util/Iterator<",
"Lkotlin/UShort;",
">;"
}
.end annotation
.line 44
new-instance v0, Lkotlin/UShortArray$Iterator;
invoke-direct {v0, p0}, Lkotlin/UShortArray$Iterator;-><init>([S)V
check-cast v0, Ljava/util/Iterator;
return-object v0
.end method
.method public static final set-01HTLdE([SIS)V
.locals 0
.line 37
aput-short p2, p0, p1
return-void
.end method
.method public static toString-impl([S)Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "UShortArray(storage="
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-static {p0}, Ljava/util/Arrays;->toString([S)Ljava/lang/String;
move-result-object p0
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p0
const/16 v0, 0x29
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public bridge synthetic add(Ljava/lang/Object;)Z
.locals 0
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Operation is not supported for read-only collection"
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public add-xj2QHRw(S)Z
.locals 0
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Operation is not supported for read-only collection"
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public addAll(Ljava/util/Collection;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Lkotlin/UShort;",
">;)Z"
}
.end annotation
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Operation is not supported for read-only collection"
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public clear()V
.locals 1
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string v0, "Operation is not supported for read-only collection"
invoke-direct {p0, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public final bridge contains(Ljava/lang/Object;)Z
.locals 1
.line 12
instance-of v0, p1, Lkotlin/UShort;
if-nez v0, :cond_0
const/4 p0, 0x0
return p0
:cond_0
check-cast p1, Lkotlin/UShort;
invoke-virtual {p1}, Lkotlin/UShort;->unbox-impl()S
move-result p1
invoke-virtual {p0, p1}, Lkotlin/UShortArray;->contains-xj2QHRw(S)Z
move-result p0
return p0
.end method
.method public contains-xj2QHRw(S)Z
.locals 0
iget-object p0, p0, Lkotlin/UShortArray;->storage:[S
.line 52
invoke-static {p0, p1}, Lkotlin/UShortArray;->contains-xj2QHRw([SS)Z
move-result p0
return p0
.end method
.method public containsAll(Ljava/util/Collection;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Ljava/lang/Object;",
">;)Z"
}
.end annotation
const-string v0, "elements"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p0, p0, Lkotlin/UShortArray;->storage:[S
.line 61
invoke-static {p0, p1}, Lkotlin/UShortArray;->containsAll-impl([SLjava/util/Collection;)Z
move-result p0
return p0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 0
iget-object p0, p0, Lkotlin/UShortArray;->storage:[S
invoke-static {p0, p1}, Lkotlin/UShortArray;->equals-impl([SLjava/lang/Object;)Z
move-result p0
return p0
.end method
.method public getSize()I
.locals 0
iget-object p0, p0, Lkotlin/UShortArray;->storage:[S
.line 41
invoke-static {p0}, Lkotlin/UShortArray;->getSize-impl([S)I
move-result p0
return p0
.end method
.method public hashCode()I
.locals 0
iget-object p0, p0, Lkotlin/UShortArray;->storage:[S
invoke-static {p0}, Lkotlin/UShortArray;->hashCode-impl([S)I
move-result p0
return p0
.end method
.method public isEmpty()Z
.locals 0
iget-object p0, p0, Lkotlin/UShortArray;->storage:[S
.line 65
invoke-static {p0}, Lkotlin/UShortArray;->isEmpty-impl([S)Z
move-result p0
return p0
.end method
.method public iterator()Ljava/util/Iterator;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"Lkotlin/UShort;",
">;"
}
.end annotation
iget-object p0, p0, Lkotlin/UShortArray;->storage:[S
.line 44
invoke-static {p0}, Lkotlin/UShortArray;->iterator-impl([S)Ljava/util/Iterator;
move-result-object p0
return-object p0
.end method
.method public remove(Ljava/lang/Object;)Z
.locals 0
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Operation is not supported for read-only collection"
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public removeAll(Ljava/util/Collection;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Ljava/lang/Object;",
">;)Z"
}
.end annotation
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Operation is not supported for read-only collection"
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public retainAll(Ljava/util/Collection;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Ljava/lang/Object;",
">;)Z"
}
.end annotation
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Operation is not supported for read-only collection"
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public bridge synthetic size()I
.locals 0
.line 12
invoke-virtual {p0}, Lkotlin/UShortArray;->getSize()I
move-result p0
return p0
.end method
.method public toArray()[Ljava/lang/Object;
.locals 0
check-cast p0, Ljava/util/Collection;
invoke-static {p0}, Lkotlin/jvm/internal/CollectionToArray;->toArray(Ljava/util/Collection;)[Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public toArray([Ljava/lang/Object;)[Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)[TT;"
}
.end annotation
const-string v0, "array"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p0, Ljava/util/Collection;
invoke-static {p0, p1}, Lkotlin/jvm/internal/CollectionToArray;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public toString()Ljava/lang/String;
.locals 0
iget-object p0, p0, Lkotlin/UShortArray;->storage:[S
invoke-static {p0}, Lkotlin/UShortArray;->toString-impl([S)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public final synthetic unbox-impl()[S
.locals 0
iget-object p0, p0, Lkotlin/UShortArray;->storage:[S
return-object p0
.end method