.class abstract Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator; .super Ljava/lang/Object; .source "" # interfaces .implements Ljava/util/Iterator; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/gson/internal/LinkedTreeMap; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x402 name = "LinkedTreeMapIterator" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Ljava/util/Iterator<", "TT;>;" } .end annotation # instance fields .field expectedModCount:I .field lastReturned:Lcom/google/gson/internal/LinkedTreeMap$Node; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/gson/internal/LinkedTreeMap$Node<", "TK;TV;>;" } .end annotation .end field .field next:Lcom/google/gson/internal/LinkedTreeMap$Node; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/gson/internal/LinkedTreeMap$Node<", "TK;TV;>;" } .end annotation .end field .field final synthetic this$0:Lcom/google/gson/internal/LinkedTreeMap; # direct methods .method constructor (Lcom/google/gson/internal/LinkedTreeMap;)V .locals 1 iput-object p1, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->this$0:Lcom/google/gson/internal/LinkedTreeMap; invoke-direct {p0}, Ljava/lang/Object;->()V iget-object p1, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->this$0:Lcom/google/gson/internal/LinkedTreeMap; iget-object v0, p1, Lcom/google/gson/internal/LinkedTreeMap;->header:Lcom/google/gson/internal/LinkedTreeMap$Node; iget-object v0, v0, Lcom/google/gson/internal/LinkedTreeMap$Node;->next:Lcom/google/gson/internal/LinkedTreeMap$Node; iput-object v0, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->next:Lcom/google/gson/internal/LinkedTreeMap$Node; const/4 v0, 0x0 iput-object v0, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->lastReturned:Lcom/google/gson/internal/LinkedTreeMap$Node; iget p1, p1, Lcom/google/gson/internal/LinkedTreeMap;->modCount:I iput p1, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->expectedModCount:I return-void .end method # virtual methods .method public final hasNext()Z .locals 2 iget-object v0, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->next:Lcom/google/gson/internal/LinkedTreeMap$Node; iget-object v1, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->this$0:Lcom/google/gson/internal/LinkedTreeMap; iget-object v1, v1, Lcom/google/gson/internal/LinkedTreeMap;->header:Lcom/google/gson/internal/LinkedTreeMap$Node; if-eq v0, v1, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method final nextNode()Lcom/google/gson/internal/LinkedTreeMap$Node; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/gson/internal/LinkedTreeMap$Node<", "TK;TV;>;" } .end annotation iget-object v0, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->next:Lcom/google/gson/internal/LinkedTreeMap$Node; iget-object v1, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->this$0:Lcom/google/gson/internal/LinkedTreeMap; iget-object v2, v1, Lcom/google/gson/internal/LinkedTreeMap;->header:Lcom/google/gson/internal/LinkedTreeMap$Node; if-eq v0, v2, :cond_1 iget v1, v1, Lcom/google/gson/internal/LinkedTreeMap;->modCount:I iget v2, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->expectedModCount:I if-ne v1, v2, :cond_0 iget-object v1, v0, Lcom/google/gson/internal/LinkedTreeMap$Node;->next:Lcom/google/gson/internal/LinkedTreeMap$Node; iput-object v1, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->next:Lcom/google/gson/internal/LinkedTreeMap$Node; iput-object v0, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->lastReturned:Lcom/google/gson/internal/LinkedTreeMap$Node; return-object v0 :cond_0 new-instance v0, Ljava/util/ConcurrentModificationException; invoke-direct {v0}, Ljava/util/ConcurrentModificationException;->()V throw v0 :cond_1 new-instance v0, Ljava/util/NoSuchElementException; invoke-direct {v0}, Ljava/util/NoSuchElementException;->()V throw v0 .end method .method public final remove()V .locals 3 iget-object v0, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->lastReturned:Lcom/google/gson/internal/LinkedTreeMap$Node; if-eqz v0, :cond_0 iget-object v1, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->this$0:Lcom/google/gson/internal/LinkedTreeMap; const/4 v2, 0x1 invoke-virtual {v1, v0, v2}, Lcom/google/gson/internal/LinkedTreeMap;->removeInternal(Lcom/google/gson/internal/LinkedTreeMap$Node;Z)V const/4 v0, 0x0 iput-object v0, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->lastReturned:Lcom/google/gson/internal/LinkedTreeMap$Node; iget-object v0, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->this$0:Lcom/google/gson/internal/LinkedTreeMap; iget v0, v0, Lcom/google/gson/internal/LinkedTreeMap;->modCount:I iput v0, p0, Lcom/google/gson/internal/LinkedTreeMap$LinkedTreeMapIterator;->expectedModCount:I return-void :cond_0 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0}, Ljava/lang/IllegalStateException;->()V throw v0 .end method