2019-07-24 11:27:29 +00:00
|
|
|
.class public Lkotlin/a/t;
|
|
|
|
.super Lkotlin/a/s;
|
2019-07-31 00:08:31 +00:00
|
|
|
.source "MutableCollections.kt"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-07-31 00:08:31 +00:00
|
|
|
.method public static final a(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;Z)Z
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-TT;",
|
|
|
|
"Ljava/lang/Boolean;",
|
|
|
|
">;Z)Z"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->remove()V
|
|
|
|
|
|
|
|
const/4 p2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return p2
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final a(Ljava/util/Collection;Ljava/lang/Iterable;)Z
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"-TT;>;",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;)Z"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$addAll"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v0, "elements"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
instance-of v0, p1, Ljava/util/Collection;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
check-cast p1, Ljava/util/Collection;
|
|
|
|
|
|
|
|
invoke-interface {p0, p1}, Ljava/util/Collection;->addAll(Ljava/util/Collection;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-interface {p0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final a(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"-TT;>;",
|
|
|
|
"Lkotlin/sequences/Sequence<",
|
|
|
|
"+TT;>;)Z"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$addAll"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v0, "elements"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-interface {p1}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-interface {p0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final a(Ljava/util/List;Lkotlin/jvm/functions/Function1;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/List<",
|
2019-07-31 00:08:31 +00:00
|
|
|
"TT;>;",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-TT;",
|
|
|
|
"Ljava/lang/Boolean;",
|
|
|
|
">;)Z"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
const-string v0, "$this$removeAll"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
const-string v0, "predicate"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-static {p0, p1}, Lkotlin/a/t;->b(Ljava/util/List;Lkotlin/jvm/functions/Function1;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
.method private static final b(Ljava/util/List;Lkotlin/jvm/functions/Function1;)Z
|
|
|
|
.locals 7
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-TT;",
|
|
|
|
"Ljava/lang/Boolean;",
|
|
|
|
">;)Z"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
instance-of v0, p0, Ljava/util/RandomAccess;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
const/4 v1, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
if-nez v0, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
if-eqz p0, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/aa;->bd(Ljava/lang/Object;)Ljava/lang/Iterable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
move-result-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-static {p0, p1, v1}, Lkotlin/a/t;->a(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;Z)Z
|
2019-07-26 06:05:06 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
move-result p0
|
2019-07-29 20:14:17 +00:00
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
new-instance p0, Lkotlin/r;
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
const-string p1, "null cannot be cast to non-null type kotlin.collections.MutableIterable<T>"
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-direct {p0, p1}, Lkotlin/r;-><init>(Ljava/lang/String;)V
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
throw p0
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
:cond_1
|
|
|
|
invoke-static {p0}, Lkotlin/a/m;->Y(Ljava/util/List;)I
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
move-result v0
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
const/4 v2, 0x0
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
if-ltz v0, :cond_4
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
const/4 v3, 0x0
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
const/4 v4, 0x0
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
move-result-object v5
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-interface {p1, v5}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
move-result-object v6
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
check-cast v6, Ljava/lang/Boolean;
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-virtual {v6}, Ljava/lang/Boolean;->booleanValue()Z
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
move-result v6
|
|
|
|
|
|
|
|
if-eq v6, v1, :cond_3
|
|
|
|
|
|
|
|
if-eq v4, v3, :cond_2
|
|
|
|
|
|
|
|
invoke-interface {p0, v4, v5}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
if-eq v3, v0, :cond_5
|
|
|
|
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-ge v4, p1, :cond_7
|
|
|
|
|
|
|
|
invoke-static {p0}, Lkotlin/a/m;->Y(Ljava/util/List;)I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-lt p1, v4, :cond_6
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-interface {p0, p1}, Ljava/util/List;->remove(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
if-eq p1, v4, :cond_6
|
|
|
|
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
goto :goto_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
:cond_6
|
|
|
|
return v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
:cond_7
|
|
|
|
return v2
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|