.class public abstract Lkotlin/a/a; .super Ljava/lang/Object; .source "AbstractCollection.kt" # interfaces .implements Ljava/util/Collection; .implements Lkotlin/jvm/internal/a/a; # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Ljava/util/Collection<", "TE;>;", "Lkotlin/jvm/internal/a/a;" } .end annotation # direct methods .method protected constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public add(Ljava/lang/Object;)Z .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TE;)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<", "+TE;>;)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 move-object v0, p0 check-cast v0, Ljava/util/Collection; invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z move-result v0 if-nez v0, :cond_1 invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object v0 :cond_0 invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z move-result v1 if-eqz v1, :cond_1 invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 invoke-static {v1, p1}, Lkotlin/jvm/internal/k;->n(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v1 if-eqz v1, :cond_0 const/4 p1, 0x1 return p1 :cond_1 const/4 p1, 0x0 return p1 .end method .method public containsAll(Ljava/util/Collection;)Z .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "+", "Ljava/lang/Object;", ">;)Z" } .end annotation const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V check-cast p1, Ljava/lang/Iterable; move-object v0, p1 check-cast v0, Ljava/util/Collection; invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z move-result v0 if-nez v0, :cond_1 invoke-interface {p1}, Ljava/lang/Iterable;->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}, Lkotlin/a/a;->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 abstract getSize()I .end method .method public isEmpty()Z .locals 1 invoke-virtual {p0}, Lkotlin/a/a;->size()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 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 invoke-virtual {p0}, Lkotlin/a/a;->getSize()I move-result v0 return v0 .end method .method public toArray()[Ljava/lang/Object; .locals 1 move-object v0, p0 check-cast v0, Ljava/util/Collection; invoke-static {v0}, Lkotlin/jvm/internal/f;->k(Ljava/util/Collection;)[Ljava/lang/Object; move-result-object v0 return-object v0 .end method .method public toArray([Ljava/lang/Object;)[Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "([TT;)[TT;" } .end annotation const-string v0, "array" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V move-object v0, p0 check-cast v0, Ljava/util/Collection; invoke-static {v0, p1}, Lkotlin/jvm/internal/f;->a(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object; move-result-object p1 if-eqz p1, :cond_0 return-object p1 :cond_0 new-instance p1, Lkotlin/r; const-string v0, "null cannot be cast to non-null type kotlin.Array" invoke-direct {p1, v0}, Lkotlin/r;->(Ljava/lang/String;)V throw p1 .end method .method public toString()Ljava/lang/String; .locals 9 const-string v0, ", " move-object v2, v0 check-cast v2, Ljava/lang/CharSequence; const-string v0, "[" move-object v3, v0 check-cast v3, Ljava/lang/CharSequence; const-string v0, "]" move-object v4, v0 check-cast v4, Ljava/lang/CharSequence; new-instance v0, Lkotlin/a/a$a; invoke-direct {v0, p0}, Lkotlin/a/a$a;->(Lkotlin/a/a;)V move-object v7, v0 check-cast v7, Lkotlin/jvm/functions/Function1; const/4 v5, 0x0 const/4 v6, 0x0 const/16 v8, 0x18 move-object v1, p0 invoke-static/range {v1 .. v8}, Lkotlin/a/l;->a(Ljava/lang/Iterable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/String; move-result-object v0 return-object v0 .end method