.class public final Lc0/i/d; .super Ljava/lang/Object; .source "Collections.kt" # interfaces .implements Ljava/util/Collection; .implements Lc0/n/c/x/a; # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Ljava/util/Collection<", "TT;>;", "Lc0/n/c/x/a;" } .end annotation # instance fields .field public final d:[Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "[TT;" } .end annotation .end field .field public final e:Z # direct methods .method public constructor ([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}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Lc0/i/d;->d:[Ljava/lang/Object; iput-boolean p2, p0, Lc0/i/d;->e:Z return-void .end method # virtual methods .method public 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;->(Ljava/lang/String;)V throw p1 .end method .method public 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;->(Ljava/lang/String;)V throw p1 .end method .method public 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;->(Ljava/lang/String;)V throw v0 .end method .method public contains(Ljava/lang/Object;)Z .locals 2 iget-object v0, p0, Lc0/i/d;->d:[Ljava/lang/Object; const-string v1, "$this$contains" invoke-static {v0, v1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {v0, p1}, Lf/h/a/f/f/n/f;->indexOf([Ljava/lang/Object;Ljava/lang/Object;)I move-result p1 if-ltz p1, :cond_0 const/4 p1, 0x1 goto :goto_0 :cond_0 const/4 p1, 0x0 :goto_0 return p1 .end method .method public containsAll(Ljava/util/Collection;)Z .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "+", "Ljava/lang/Object;", ">;)Z" } .end annotation const-string v0, "elements" invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z move-result v0 const/4 v1, 0x1 if-eqz v0, :cond_0 goto :goto_0 :cond_0 invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p1 :cond_1 invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_2 invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 invoke-virtual {p0, v0}, Lc0/i/d;->contains(Ljava/lang/Object;)Z move-result v0 if-nez v0, :cond_1 const/4 v1, 0x0 :cond_2 :goto_0 return v1 .end method .method public isEmpty()Z .locals 1 iget-object v0, p0, Lc0/i/d;->d:[Ljava/lang/Object; array-length v0, v0 if-nez v0, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method public iterator()Ljava/util/Iterator; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Iterator<", "TT;>;" } .end annotation iget-object v0, p0, Lc0/i/d;->d:[Ljava/lang/Object; invoke-static {v0}, Lc0/j/a;->iterator([Ljava/lang/Object;)Ljava/util/Iterator; move-result-object v0 return-object v0 .end method .method public 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;->(Ljava/lang/String;)V throw p1 .end method .method public 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;->(Ljava/lang/String;)V throw p1 .end method .method public 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;->(Ljava/lang/String;)V throw p1 .end method .method public final size()I .locals 1 iget-object v0, p0, Lc0/i/d;->d:[Ljava/lang/Object; array-length v0, v0 return v0 .end method .method public final toArray()[Ljava/lang/Object; .locals 4 iget-object v0, p0, Lc0/i/d;->d:[Ljava/lang/Object; iget-boolean v1, p0, Lc0/i/d;->e:Z const-class v2, [Ljava/lang/Object; const-string v3, "$this$copyToArrayOfAny" invoke-static {v0, v3}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V if-eqz v1, :cond_0 invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v1 invoke-static {v1, v2}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v1 if-eqz v1, :cond_0 goto :goto_0 :cond_0 array-length v1, v0 invoke-static {v0, v1, v2}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object; move-result-object v0 :goto_0 const-string v1, "if (isVarargs && this.ja\u2026 Array::class.java)" invoke-static {v0, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V return-object v0 .end method .method public toArray([Ljava/lang/Object;)[Ljava/lang/Object; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "([TT;)[TT;" } .end annotation invoke-static {p0, p1}, Lc0/n/c/f;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object; move-result-object p1 return-object p1 .end method