UShortArray.smali
.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 runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
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\t\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u000e\n\u0002\u0008\u0002\u0008\u0087@\u0018\u00002\u0008\u0012\u0004\u0012\u00020\u00020\u0001:\u0001-B\u0014\u0008\u0016\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008\u0005\u0010\u0006B\u0014\u0008\u0001\u0012\u0006\u0010\u0007\u001a\u00020\u0008\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008\u0005\u0010\tJ\u001b\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0002H\u0096\u0002\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008\u0011\u0010\u0012J \u0010\u0013\u001a\u00020\u000f2\u000c\u0010\u0014\u001a\u0008\u0012\u0004\u0012\u00020\u00020\u0001H\u0016\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008\u0015\u0010\u0016J\u0013\u0010\u0017\u001a\u00020\u000f2\u0008\u0010\u0018\u001a\u0004\u0018\u00010\u0019H\u00d6\u0003J\u001e\u0010\u001a\u001a\u00020\u00022\u0006\u0010\u001b\u001a\u00020\u0004H\u0086\u0002\u00f8\u0001\u0000\u00f8\u0001\u0001\u00a2\u0006\u0004\u0008\u001c\u0010\u001dJ\t\u0010\u001e\u001a\u00020\u0004H\u00d6\u0001J\u000f\u0010\u001f\u001a\u00020\u000fH\u0016\u00a2\u0006\u0004\u0008 \u0010!J\u0010\u0010\"\u001a\u00020#H\u0096\u0002\u00a2\u0006\u0004\u0008$\u0010%J#\u0010&\u001a\u00020\'2\u0006\u0010\u001b\u001a\u00020\u00042\u0006\u0010(\u001a\u00020\u0002H\u0086\u0002\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008)\u0010*J\t\u0010+\u001a\u00020,H\u00d6\u0001R\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\u00f8\u0001\u0000\u0082\u0002\u0008\n\u0002\u0008\u0019\n\u0002\u0008!\u00a8\u0006."
}
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",
"",
"get",
"index",
"get-Mh2AYeg",
"([SI)S",
"hashCode",
"isEmpty",
"isEmpty-impl",
"([S)Z",
"iterator",
"Lkotlin/collections/UShortIterator;",
"iterator-impl",
"([S)Lkotlin/collections/UShortIterator;",
"set",
"",
"value",
"set-01HTLdE",
"([SIS)V",
"toString",
"",
"Iterator",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field private final storage:[S
# direct methods
.method private synthetic constructor <init>([S)V
.registers 3
const-string v0, "storage"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 15
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;
.registers 2
const-string v0, "v"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
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
.registers 1
.line 18
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
.registers 2
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
.registers 2
.line 55
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
.registers 6
.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 59
check-cast p1, Ljava/lang/Iterable;
.line 84
move-object v0, p1
check-cast v0, Ljava/util/Collection;
invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z
move-result v0
const/4 v1, 0x0
const/4 v2, 0x1
if-eqz v0, :cond_14
:cond_12
const/4 v1, 0x1
goto :goto_37
.line 85
:cond_14
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
:cond_18
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_12
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
.line 59
instance-of v3, v0, Lkotlin/UShort;
if-eqz v3, :cond_34
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_34
const/4 v0, 0x1
goto :goto_35
:cond_34
const/4 v0, 0x0
:goto_35
if-nez v0, :cond_18
:goto_37
return v1
.end method
.method public static equals-impl([SLjava/lang/Object;)Z
.registers 3
instance-of v0, p1, Lkotlin/UShortArray;
if-eqz v0, :cond_12
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-eqz p0, :cond_12
const/4 p0, 0x1
return p0
:cond_12
const/4 p0, 0x0
return p0
.end method
.method public static final equals-impl0([S[S)Z
.registers 2
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
.registers 2
.line 26
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
.registers 1
.line 39
array-length p0, p0
return p0
.end method
.method public static synthetic getStorage$annotations()V
.registers 0
return-void
.end method
.method public static hashCode-impl([S)I
.registers 1
if-eqz p0, :cond_7
invoke-static {p0}, Ljava/util/Arrays;->hashCode([S)I
move-result p0
goto :goto_8
:cond_7
const/4 p0, 0x0
:goto_8
return p0
.end method
.method public static isEmpty-impl([S)Z
.registers 1
.line 62
array-length p0, p0
if-nez p0, :cond_5
const/4 p0, 0x1
goto :goto_6
:cond_5
const/4 p0, 0x0
:goto_6
return p0
.end method
.method public static iterator-impl([S)Lkotlin/collections/UShortIterator;
.registers 2
.line 42
new-instance v0, Lkotlin/UShortArray$Iterator;
invoke-direct {v0, p0}, Lkotlin/UShortArray$Iterator;-><init>([S)V
check-cast v0, Lkotlin/collections/UShortIterator;
return-object v0
.end method
.method public static final set-01HTLdE([SIS)V
.registers 3
.line 35
aput-short p2, p0, p1
return-void
.end method
.method public static toString-impl([S)Ljava/lang/String;
.registers 3
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "UShortArray(storage="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
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;
const-string p0, ")"
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public synthetic add(Ljava/lang/Object;)Z
.registers 3
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Operation is not supported for read-only collection"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public add-xj2QHRw(S)Z
.registers 3
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Operation is not supported for read-only collection"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public addAll(Ljava/util/Collection;)Z
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Lkotlin/UShort;",
">;)Z"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Operation is not supported for read-only collection"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public clear()V
.registers 3
new-instance v0, Ljava/lang/UnsupportedOperationException;
const-string v1, "Operation is not supported for read-only collection"
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public final bridge contains(Ljava/lang/Object;)Z
.registers 3
.line 12
instance-of v0, p1, Lkotlin/UShort;
if-eqz v0, :cond_f
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 p1
return p1
:cond_f
const/4 p1, 0x0
return p1
.end method
.method public contains-xj2QHRw(S)Z
.registers 3
.line 1
iget-object v0, p0, Lkotlin/UShortArray;->storage:[S
invoke-static {v0, p1}, Lkotlin/UShortArray;->contains-xj2QHRw([SS)Z
move-result p1
return p1
.end method
.method public containsAll(Ljava/util/Collection;)Z
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Ljava/lang/Object;",
">;)Z"
}
.end annotation
.line 1
iget-object v0, p0, Lkotlin/UShortArray;->storage:[S
invoke-static {v0, p1}, Lkotlin/UShortArray;->containsAll-impl([SLjava/util/Collection;)Z
move-result p1
return p1
.end method
.method public equals(Ljava/lang/Object;)Z
.registers 3
.line 1
iget-object v0, p0, Lkotlin/UShortArray;->storage:[S
invoke-static {v0, p1}, Lkotlin/UShortArray;->equals-impl([SLjava/lang/Object;)Z
move-result p1
return p1
.end method
.method public getSize()I
.registers 2
.line 1
iget-object v0, p0, Lkotlin/UShortArray;->storage:[S
invoke-static {v0}, Lkotlin/UShortArray;->getSize-impl([S)I
move-result v0
return v0
.end method
.method public hashCode()I
.registers 2
.line 1
iget-object v0, p0, Lkotlin/UShortArray;->storage:[S
invoke-static {v0}, Lkotlin/UShortArray;->hashCode-impl([S)I
move-result v0
return v0
.end method
.method public isEmpty()Z
.registers 2
.line 1
iget-object v0, p0, Lkotlin/UShortArray;->storage:[S
invoke-static {v0}, Lkotlin/UShortArray;->isEmpty-impl([S)Z
move-result v0
return v0
.end method
.method public bridge synthetic iterator()Ljava/util/Iterator;
.registers 2
.line 12
invoke-virtual {p0}, Lkotlin/UShortArray;->iterator()Lkotlin/collections/UShortIterator;
move-result-object v0
check-cast v0, Ljava/util/Iterator;
return-object v0
.end method
.method public iterator()Lkotlin/collections/UShortIterator;
.registers 2
.line 1
iget-object v0, p0, Lkotlin/UShortArray;->storage:[S
invoke-static {v0}, Lkotlin/UShortArray;->iterator-impl([S)Lkotlin/collections/UShortIterator;
move-result-object v0
return-object v0
.end method
.method public remove(Ljava/lang/Object;)Z
.registers 3
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Operation is not supported for read-only collection"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public removeAll(Ljava/util/Collection;)Z
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Ljava/lang/Object;",
">;)Z"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Operation is not supported for read-only collection"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public retainAll(Ljava/util/Collection;)Z
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Ljava/lang/Object;",
">;)Z"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Operation is not supported for read-only collection"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public final bridge size()I
.registers 2
.line 12
invoke-virtual {p0}, Lkotlin/UShortArray;->getSize()I
move-result v0
return v0
.end method
.method public toArray()[Ljava/lang/Object;
.registers 2
invoke-static {p0}, Lkotlin/jvm/internal/CollectionToArray;->toArray(Ljava/util/Collection;)[Ljava/lang/Object;
move-result-object v0
return-object v0
.end method
.method public toArray([Ljava/lang/Object;)[Ljava/lang/Object;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)[TT;"
}
.end annotation
invoke-static {p0, p1}, Lkotlin/jvm/internal/CollectionToArray;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public toString()Ljava/lang/String;
.registers 2
.line 1
iget-object v0, p0, Lkotlin/UShortArray;->storage:[S
invoke-static {v0}, Lkotlin/UShortArray;->toString-impl([S)Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public final synthetic unbox-impl()[S
.registers 2
iget-object v0, p0, Lkotlin/UShortArray;->storage:[S
return-object v0
.end method