apkfuckery/com.discord/smali_classes2/kotlin/a/f.smali
2019-10-11 23:55:41 +02:00

320 lines
7.1 KiB
Smali

.class final Lkotlin/a/f;
.super Ljava/lang/Object;
.source "Collections.kt"
# interfaces
.implements Ljava/util/Collection;
.implements Lkotlin/jvm/internal/a/a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/util/Collection<",
"TT;>;",
"Lkotlin/jvm/internal/a/a;"
}
.end annotation
# instance fields
.field private final bgy:[Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"[TT;"
}
.end annotation
.end field
.field private final bgz:Z
# direct methods
.method public constructor <init>([Ljava/lang/Object;Z)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"([TT;Z)V"
}
.end annotation
const-string v0, "values"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lkotlin/a/f;->bgy:[Ljava/lang/Object;
iput-boolean p2, p0, Lkotlin/a/f;->bgz:Z
return-void
.end method
# virtual methods
.method public final add(Ljava/lang/Object;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)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 addAll(Ljava/util/Collection;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+TT;>;)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 clear()V
.locals 2
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 contains(Ljava/lang/Object;)Z
.locals 1
iget-object v0, p0, Lkotlin/a/f;->bgy:[Ljava/lang/Object;
invoke-static {v0, p1}, Lkotlin/a/g;->contains([Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
return p1
.end method
.method public final 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/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p1, Ljava/lang/Iterable;
move-object v0, p1
check-cast v0, Ljava/util/Collection;
invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z
move-result v0
if-nez v0, :cond_1
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
:cond_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
invoke-virtual {p0, v0}, Lkotlin/a/f;->contains(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_0
const/4 p1, 0x0
return p1
:cond_1
const/4 p1, 0x1
return p1
.end method
.method public final getSize()I
.locals 1
iget-object v0, p0, Lkotlin/a/f;->bgy:[Ljava/lang/Object;
array-length v0, v0
return v0
.end method
.method public final isEmpty()Z
.locals 1
iget-object v0, p0, Lkotlin/a/f;->bgy:[Ljava/lang/Object;
array-length v0, v0
if-nez v0, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public final iterator()Ljava/util/Iterator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
iget-object v0, p0, Lkotlin/a/f;->bgy:[Ljava/lang/Object;
invoke-static {v0}, Lkotlin/jvm/internal/b;->iterator([Ljava/lang/Object;)Ljava/util/Iterator;
move-result-object v0
return-object v0
.end method
.method public final remove(Ljava/lang/Object;)Z
.locals 1
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 removeAll(Ljava/util/Collection;)Z
.locals 1
.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 retainAll(Ljava/util/Collection;)Z
.locals 1
.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 size()I
.locals 1
invoke-virtual {p0}, Lkotlin/a/f;->getSize()I
move-result v0
return v0
.end method
.method public final toArray()[Ljava/lang/Object;
.locals 2
iget-object v0, p0, Lkotlin/a/f;->bgy:[Ljava/lang/Object;
iget-boolean v1, p0, Lkotlin/a/f;->bgz:Z
invoke-static {v0, v1}, Lkotlin/a/m;->copyToArrayOfAny([Ljava/lang/Object;Z)[Ljava/lang/Object;
move-result-object v0
return-object v0
.end method
.method public final toArray([Ljava/lang/Object;)[Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)[TT;"
}
.end annotation
invoke-static {p0, p1}, Lkotlin/jvm/internal/f;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p1
return-object p1
.end method