.class public final Lm/q/d; .super Ljava/lang/Object; .source "Collections.kt" # interfaces .implements Ljava/util/Collection; .implements Lm/u/b/z/a; # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Ljava/util/Collection<", "TT;>;", "Lm/u/b/z/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 0 .annotation system Ldalvik/annotation/Signature; value = { "([TT;Z)V" } .end annotation if-eqz p1, :cond_0 invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Lm/q/d;->d:[Ljava/lang/Object; iput-boolean p2, p0, Lm/q/d;->e:Z return-void :cond_0 const-string p1, "values" invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw p1 .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 1 iget-object v0, p0, Lm/q/d;->d:[Ljava/lang/Object; if-eqz v0, :cond_1 invoke-static {v0, p1}, Le/k/a/b/e/p/g;->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 :cond_1 const-string p1, "$this$contains" invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw 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 if-eqz p1, :cond_3 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}, Lm/q/d;->contains(Ljava/lang/Object;)Z move-result v0 if-nez v0, :cond_1 const/4 v1, 0x0 :cond_2 :goto_0 return v1 :cond_3 const-string p1, "elements" invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw p1 .end method .method public isEmpty()Z .locals 1 iget-object v0, p0, Lm/q/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, Lm/q/d;->d:[Ljava/lang/Object; invoke-static {v0}, Le/k/a/b/e/p/g;->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, Lm/q/d;->d:[Ljava/lang/Object; array-length v0, v0 return v0 .end method .method public final toArray()[Ljava/lang/Object; .locals 3 iget-object v0, p0, Lm/q/d;->d:[Ljava/lang/Object; iget-boolean v1, p0, Lm/q/d;->e:Z const-class v2, [Ljava/lang/Object; if-eqz v0, :cond_1 if-eqz v1, :cond_0 invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v1 invoke-static {v1, v2}, Lm/u/b/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 const-string v1, "java.util.Arrays.copyOf(\u2026 Array::class.java)" invoke-static {v0, v1}, Lm/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V :goto_0 return-object v0 :cond_1 const-string v0, "$this$copyToArrayOfAny" invoke-static {v0}, Lm/u/b/j;->a(Ljava/lang/String;)V const/4 v0, 0x0 throw 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}, Lm/u/b/e;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object; move-result-object p1 return-object p1 .end method