.class public final Lcom/google/common/collect/ImmutableList$Builder; .super Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder; .source "ImmutableList.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/common/collect/ImmutableList; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "Builder" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder<", "TE;>;" } .end annotation # direct methods .method public constructor ()V .locals 1 const/4 v0, 0x4 .line 1 invoke-direct {p0, v0}, Lcom/google/common/collect/ImmutableList$Builder;->(I)V return-void .end method .method public constructor (I)V .locals 0 .line 2 invoke-direct {p0, p1}, Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder;->(I)V return-void .end method # virtual methods .method public bridge synthetic add(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder; .locals 0 .annotation build Lcom/google/errorprone/annotations/CanIgnoreReturnValue; .end annotation .line 1 invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableList$Builder;->add(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder; move-result-object p1 return-object p1 .end method .method public bridge synthetic add(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder; .locals 0 .annotation build Lcom/google/errorprone/annotations/CanIgnoreReturnValue; .end annotation .line 2 invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableList$Builder;->add(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder; move-result-object p1 return-object p1 .end method .method public bridge synthetic add([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder; .locals 0 .annotation build Lcom/google/errorprone/annotations/CanIgnoreReturnValue; .end annotation .line 3 invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableList$Builder;->add([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder; move-result-object p1 return-object p1 .end method .method public add(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder; .locals 0 .annotation build Lcom/google/errorprone/annotations/CanIgnoreReturnValue; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(TE;)", "Lcom/google/common/collect/ImmutableList$Builder<", "TE;>;" } .end annotation .line 4 invoke-super {p0, p1}, Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder;->add(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder; return-object p0 .end method .method public varargs add([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder; .locals 0 .annotation build Lcom/google/errorprone/annotations/CanIgnoreReturnValue; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "([TE;)", "Lcom/google/common/collect/ImmutableList$Builder<", "TE;>;" } .end annotation .line 5 invoke-super {p0, p1}, Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder;->add([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder; return-object p0 .end method .method public bridge synthetic addAll(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableCollection$Builder; .locals 0 .annotation build Lcom/google/errorprone/annotations/CanIgnoreReturnValue; .end annotation .line 1 invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableList$Builder;->addAll(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList$Builder; move-result-object p1 return-object p1 .end method .method public bridge synthetic addAll(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableCollection$Builder; .locals 0 .annotation build Lcom/google/errorprone/annotations/CanIgnoreReturnValue; .end annotation .line 2 invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableList$Builder;->addAll(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableList$Builder; move-result-object p1 return-object p1 .end method .method public addAll(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList$Builder; .locals 0 .annotation build Lcom/google/errorprone/annotations/CanIgnoreReturnValue; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "+TE;>;)", "Lcom/google/common/collect/ImmutableList$Builder<", "TE;>;" } .end annotation .line 3 invoke-super {p0, p1}, Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder;->addAll(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableCollection$Builder; return-object p0 .end method .method public addAll(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableList$Builder; .locals 0 .annotation build Lcom/google/errorprone/annotations/CanIgnoreReturnValue; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Iterator<", "+TE;>;)", "Lcom/google/common/collect/ImmutableList$Builder<", "TE;>;" } .end annotation .line 4 invoke-super {p0, p1}, Lcom/google/common/collect/ImmutableCollection$Builder;->addAll(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableCollection$Builder; return-object p0 .end method .method public bridge synthetic build()Lcom/google/common/collect/ImmutableCollection; .locals 1 .line 1 invoke-virtual {p0}, Lcom/google/common/collect/ImmutableList$Builder;->build()Lcom/google/common/collect/ImmutableList; move-result-object v0 return-object v0 .end method .method public build()Lcom/google/common/collect/ImmutableList; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/ImmutableList<", "TE;>;" } .end annotation const/4 v0, 0x1 .line 2 iput-boolean v0, p0, Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder;->forceCopy:Z .line 3 iget-object v0, p0, Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder;->contents:[Ljava/lang/Object; iget v1, p0, Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder;->size:I invoke-static {v0, v1}, Lcom/google/common/collect/ImmutableList;->asImmutableList([Ljava/lang/Object;I)Lcom/google/common/collect/ImmutableList; move-result-object v0 return-object v0 .end method .method public combine(Lcom/google/common/collect/ImmutableList$Builder;)Lcom/google/common/collect/ImmutableList$Builder; .locals 1 .annotation build Lcom/google/errorprone/annotations/CanIgnoreReturnValue; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/ImmutableList$Builder<", "TE;>;)", "Lcom/google/common/collect/ImmutableList$Builder<", "TE;>;" } .end annotation .line 1 iget-object v0, p1, Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder;->contents:[Ljava/lang/Object; iget p1, p1, Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder;->size:I invoke-virtual {p0, v0, p1}, Lcom/google/common/collect/ImmutableCollection$ArrayBasedBuilder;->addAll([Ljava/lang/Object;I)V return-object p0 .end method