apkfuckery/com.discord/smali/androidx/collection/MapCollections$ValuesCollection.smali

376 lines
8.7 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Landroidx/collection/MapCollections$ValuesCollection;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "MapCollections.java"
# interfaces
.implements Ljava/util/Collection;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/collection/MapCollections;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x11
2019-07-24 11:27:29 +00:00
name = "ValuesCollection"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Collection<",
"TV;>;"
}
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/collection/MapCollections;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroidx/collection/MapCollections;)V
2019-07-24 11:27:29 +00:00
.locals 0
iput-object p1, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public add(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TV;)Z"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
2019-12-06 03:29:40 +00:00
.method public addAll(Ljava/util/Collection;)Z
2019-07-24 11:27:29 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+TV;>;)Z"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
2019-12-06 03:29:40 +00:00
.method public clear()V
2019-07-24 11:27:29 +00:00
.locals 1
iget-object v0, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v0}, Landroidx/collection/MapCollections;->colClear()V
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public contains(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
.locals 1
iget-object v0, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v0, p1}, Landroidx/collection/MapCollections;->colIndexOfValue(Ljava/lang/Object;)I
move-result p1
if-ltz p1, :cond_0
const/4 p1, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
const/4 p1, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return p1
.end method
2019-12-06 03:29:40 +00:00
.method public containsAll(Ljava/util/Collection;)Z
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"*>;)Z"
}
.end annotation
invoke-interface {p1}, Ljava/util/Collection;->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}, Landroidx/collection/MapCollections$ValuesCollection;->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-12-06 03:29:40 +00:00
.method public isEmpty()Z
2019-07-24 11:27:29 +00:00
.locals 1
iget-object v0, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v0}, Landroidx/collection/MapCollections;->colGetSize()I
move-result v0
if-nez v0, :cond_0
const/4 v0, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return v0
.end method
2019-12-06 03:29:40 +00:00
.method public iterator()Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"TV;>;"
}
.end annotation
new-instance v0, Landroidx/collection/MapCollections$ArrayIterator;
iget-object v1, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
const/4 v2, 0x1
invoke-direct {v0, v1, v2}, Landroidx/collection/MapCollections$ArrayIterator;-><init>(Landroidx/collection/MapCollections;I)V
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public remove(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
.locals 1
iget-object v0, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v0, p1}, Landroidx/collection/MapCollections;->colIndexOfValue(Ljava/lang/Object;)I
move-result p1
if-ltz p1, :cond_0
iget-object v0, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v0, p1}, Landroidx/collection/MapCollections;->colRemoveAt(I)V
const/4 p1, 0x1
return p1
:cond_0
const/4 p1, 0x0
return p1
.end method
2019-12-06 03:29:40 +00:00
.method public removeAll(Ljava/util/Collection;)Z
2019-07-24 11:27:29 +00:00
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"*>;)Z"
}
.end annotation
iget-object v0, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v0}, Landroidx/collection/MapCollections;->colGetSize()I
move-result v0
const/4 v1, 0x0
const/4 v2, 0x0
:goto_0
if-ge v1, v0, :cond_1
iget-object v3, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
const/4 v4, 0x1
invoke-virtual {v3, v1, v4}, Landroidx/collection/MapCollections;->colGetEntry(II)Ljava/lang/Object;
move-result-object v3
invoke-interface {p1, v3}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_0
iget-object v2, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v2, v1}, Landroidx/collection/MapCollections;->colRemoveAt(I)V
add-int/lit8 v1, v1, -0x1
add-int/lit8 v0, v0, -0x1
const/4 v2, 0x1
:cond_0
add-int/2addr v1, v4
goto :goto_0
:cond_1
return v2
.end method
2019-12-06 03:29:40 +00:00
.method public retainAll(Ljava/util/Collection;)Z
2019-07-24 11:27:29 +00:00
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"*>;)Z"
}
.end annotation
iget-object v0, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v0}, Landroidx/collection/MapCollections;->colGetSize()I
move-result v0
const/4 v1, 0x0
const/4 v2, 0x0
:goto_0
if-ge v1, v0, :cond_1
iget-object v3, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
const/4 v4, 0x1
invoke-virtual {v3, v1, v4}, Landroidx/collection/MapCollections;->colGetEntry(II)Ljava/lang/Object;
move-result-object v3
invoke-interface {p1, v3}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
move-result v3
if-nez v3, :cond_0
iget-object v2, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v2, v1}, Landroidx/collection/MapCollections;->colRemoveAt(I)V
add-int/lit8 v1, v1, -0x1
add-int/lit8 v0, v0, -0x1
const/4 v2, 0x1
:cond_0
add-int/2addr v1, v4
goto :goto_0
:cond_1
return v2
.end method
2019-12-06 03:29:40 +00:00
.method public size()I
2019-07-24 11:27:29 +00:00
.locals 1
iget-object v0, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v0}, Landroidx/collection/MapCollections;->colGetSize()I
move-result v0
return v0
.end method
2019-12-06 03:29:40 +00:00
.method public toArray()[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.locals 2
iget-object v0, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Landroidx/collection/MapCollections;->toArrayHelper(I)[Ljava/lang/Object;
move-result-object v0
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public toArray([Ljava/lang/Object;)[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)[TT;"
}
.end annotation
iget-object v0, p0, Landroidx/collection/MapCollections$ValuesCollection;->this$0:Landroidx/collection/MapCollections;
const/4 v1, 0x1
invoke-virtual {v0, p1, v1}, Landroidx/collection/MapCollections;->toArrayHelper([Ljava/lang/Object;I)[Ljava/lang/Object;
move-result-object p1
return-object p1
.end method