apkfuckery/com.discord/smali/androidx/collection/MapCollections$EntrySet.smali
2019-02-04 21:29:01 +01:00

442 lines
10 KiB
Smali

.class final Landroidx/collection/MapCollections$EntrySet;
.super Ljava/lang/Object;
.source "MapCollections.java"
# interfaces
.implements Ljava/util/Set;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/collection/MapCollections;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x10
name = "EntrySet"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Set<",
"Ljava/util/Map$Entry<",
"TK;TV;>;>;"
}
.end annotation
# instance fields
.field final synthetic this$0:Landroidx/collection/MapCollections;
# direct methods
.method constructor <init>(Landroidx/collection/MapCollections;)V
.locals 0
iput-object p1, p0, Landroidx/collection/MapCollections$EntrySet;->this$0:Landroidx/collection/MapCollections;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final bridge synthetic add(Ljava/lang/Object;)Z
.locals 0
check-cast p1, Ljava/util/Map$Entry;
invoke-virtual {p0, p1}, Landroidx/collection/MapCollections$EntrySet;->add(Ljava/util/Map$Entry;)Z
move-result p1
return p1
.end method
.method public final add(Ljava/util/Map$Entry;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map$Entry<",
"TK;TV;>;)Z"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
.method public final addAll(Ljava/util/Collection;)Z
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Ljava/util/Map$Entry<",
"TK;TV;>;>;)Z"
}
.end annotation
iget-object v0, p0, Landroidx/collection/MapCollections$EntrySet;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v0}, Landroidx/collection/MapCollections;->colGetSize()I
move-result v0
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/util/Map$Entry;
iget-object v2, p0, Landroidx/collection/MapCollections$EntrySet;->this$0:Landroidx/collection/MapCollections;
invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v3
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v1
invoke-virtual {v2, v3, v1}, Landroidx/collection/MapCollections;->colPut(Ljava/lang/Object;Ljava/lang/Object;)V
goto :goto_0
:cond_0
iget-object p1, p0, Landroidx/collection/MapCollections$EntrySet;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {p1}, Landroidx/collection/MapCollections;->colGetSize()I
move-result p1
if-eq v0, p1, :cond_1
const/4 p1, 0x1
return p1
:cond_1
const/4 p1, 0x0
return p1
.end method
.method public final clear()V
.locals 1
iget-object v0, p0, Landroidx/collection/MapCollections$EntrySet;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v0}, Landroidx/collection/MapCollections;->colClear()V
return-void
.end method
.method public final contains(Ljava/lang/Object;)Z
.locals 3
instance-of v0, p1, Ljava/util/Map$Entry;
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
check-cast p1, Ljava/util/Map$Entry;
iget-object v0, p0, Landroidx/collection/MapCollections$EntrySet;->this$0:Landroidx/collection/MapCollections;
invoke-interface {p1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v2
invoke-virtual {v0, v2}, Landroidx/collection/MapCollections;->colIndexOfKey(Ljava/lang/Object;)I
move-result v0
if-gez v0, :cond_1
return v1
:cond_1
iget-object v1, p0, Landroidx/collection/MapCollections$EntrySet;->this$0:Landroidx/collection/MapCollections;
const/4 v2, 0x1
invoke-virtual {v1, v0, v2}, Landroidx/collection/MapCollections;->colGetEntry(II)Ljava/lang/Object;
move-result-object v0
invoke-interface {p1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object p1
invoke-static {v0, p1}, Landroidx/collection/ContainerHelpers;->equal(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<",
"*>;)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$EntrySet;->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 equals(Ljava/lang/Object;)Z
.locals 0
invoke-static {p0, p1}, Landroidx/collection/MapCollections;->equalsSetHelper(Ljava/util/Set;Ljava/lang/Object;)Z
move-result p1
return p1
.end method
.method public final hashCode()I
.locals 6
iget-object v0, p0, Landroidx/collection/MapCollections$EntrySet;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v0}, Landroidx/collection/MapCollections;->colGetSize()I
move-result v0
const/4 v1, 0x1
sub-int/2addr v0, v1
const/4 v2, 0x0
const/4 v3, 0x0
:goto_0
if-ltz v0, :cond_2
iget-object v4, p0, Landroidx/collection/MapCollections$EntrySet;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v4, v0, v2}, Landroidx/collection/MapCollections;->colGetEntry(II)Ljava/lang/Object;
move-result-object v4
iget-object v5, p0, Landroidx/collection/MapCollections$EntrySet;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v5, v0, v1}, Landroidx/collection/MapCollections;->colGetEntry(II)Ljava/lang/Object;
move-result-object v5
if-nez v4, :cond_0
const/4 v4, 0x0
goto :goto_1
:cond_0
invoke-virtual {v4}, Ljava/lang/Object;->hashCode()I
move-result v4
:goto_1
if-nez v5, :cond_1
const/4 v5, 0x0
goto :goto_2
:cond_1
invoke-virtual {v5}, Ljava/lang/Object;->hashCode()I
move-result v5
:goto_2
xor-int/2addr v4, v5
add-int/2addr v3, v4
add-int/lit8 v0, v0, -0x1
goto :goto_0
:cond_2
return v3
.end method
.method public final isEmpty()Z
.locals 1
iget-object v0, p0, Landroidx/collection/MapCollections$EntrySet;->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
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public final iterator()Ljava/util/Iterator;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"Ljava/util/Map$Entry<",
"TK;TV;>;>;"
}
.end annotation
new-instance v0, Landroidx/collection/MapCollections$MapIterator;
iget-object v1, p0, Landroidx/collection/MapCollections$EntrySet;->this$0:Landroidx/collection/MapCollections;
invoke-direct {v0, v1}, Landroidx/collection/MapCollections$MapIterator;-><init>(Landroidx/collection/MapCollections;)V
return-object v0
.end method
.method public final remove(Ljava/lang/Object;)Z
.locals 0
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
.method public final removeAll(Ljava/util/Collection;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"*>;)Z"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
.method public final retainAll(Ljava/util/Collection;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"*>;)Z"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
.method public final size()I
.locals 1
iget-object v0, p0, Landroidx/collection/MapCollections$EntrySet;->this$0:Landroidx/collection/MapCollections;
invoke-virtual {v0}, Landroidx/collection/MapCollections;->colGetSize()I
move-result v0
return v0
.end method
.method public final toArray()[Ljava/lang/Object;
.locals 1
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw 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
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method