apkfuckery/com.discord/smali_classes2/kotlin/a/f.smali

321 lines
7.1 KiB
Smali
Raw Normal View History

2019-08-14 23:59:34 +00:00
.class final Lkotlin/a/f;
2019-07-24 11:27:29 +00:00
.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
2019-11-20 22:09:14 +00:00
.field private final bgI:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"[TT;"
}
.end annotation
.end field
2019-11-20 22:09:14 +00:00
.field private final bgJ:Z
2019-07-24 11:27:29 +00:00
# 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"
2019-10-09 23:16:36 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-11-20 22:09:14 +00:00
iput-object p1, p0, Lkotlin/a/f;->bgI:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-11-20 22:09:14 +00:00
iput-boolean p2, p0, Lkotlin/a/f;->bgJ:Z
2019-07-24 11:27:29 +00:00
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
2019-10-09 23:16:36 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2019-11-20 22:09:14 +00:00
iget-object v0, p0, Lkotlin/a/f;->bgI:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {v0, p1}, Lkotlin/a/g;->contains([Ljava/lang/Object;Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
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"
2019-10-09 23:16:36 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
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
2019-10-09 23:16:36 +00:00
.method public final getSize()I
.locals 1
2019-11-20 22:09:14 +00:00
iget-object v0, p0, Lkotlin/a/f;->bgI:[Ljava/lang/Object;
2019-10-09 23:16:36 +00:00
array-length v0, v0
return v0
.end method
2019-07-24 11:27:29 +00:00
.method public final isEmpty()Z
.locals 1
2019-11-20 22:09:14 +00:00
iget-object v0, p0, Lkotlin/a/f;->bgI:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
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
2019-11-20 22:09:14 +00:00
iget-object v0, p0, Lkotlin/a/f;->bgI:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {v0}, Lkotlin/jvm/internal/b;->iterator([Ljava/lang/Object;)Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
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
2019-10-09 23:16:36 +00:00
.method public final size()I
2019-07-24 11:27:29 +00:00
.locals 1
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lkotlin/a/f;->getSize()I
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
return v0
.end method
.method public final toArray()[Ljava/lang/Object;
2019-10-09 23:16:36 +00:00
.locals 2
2019-07-24 11:27:29 +00:00
2019-11-20 22:09:14 +00:00
iget-object v0, p0, Lkotlin/a/f;->bgI:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-11-20 22:09:14 +00:00
iget-boolean v1, p0, Lkotlin/a/f;->bgJ:Z
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {v0, v1}, Lkotlin/a/m;->copyToArrayOfAny([Ljava/lang/Object;Z)[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
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
2019-10-09 23:16:36 +00:00
invoke-static {p0, p1}, Lkotlin/jvm/internal/f;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object p1
return-object p1
.end method