.class public Lcom/google/protobuf/ByteString$1; .super Lcom/google/protobuf/ByteString$AbstractByteIterator; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/google/protobuf/ByteString;->iterator()Lcom/google/protobuf/ByteString$ByteIterator; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = null .end annotation # instance fields .field private final limit:I .field private position:I .field final synthetic this$0:Lcom/google/protobuf/ByteString; # direct methods .method public constructor (Lcom/google/protobuf/ByteString;)V .locals 1 iput-object p1, p0, Lcom/google/protobuf/ByteString$1;->this$0:Lcom/google/protobuf/ByteString; .line 176 invoke-direct {p0}, Lcom/google/protobuf/ByteString$AbstractByteIterator;->()V const/4 v0, 0x0 iput v0, p0, Lcom/google/protobuf/ByteString$1;->position:I .line 178 invoke-virtual {p1}, Lcom/google/protobuf/ByteString;->size()I move-result p1 iput p1, p0, Lcom/google/protobuf/ByteString$1;->limit:I return-void .end method # virtual methods .method public hasNext()Z .locals 2 iget v0, p0, Lcom/google/protobuf/ByteString$1;->position:I iget v1, p0, Lcom/google/protobuf/ByteString$1;->limit:I if-ge v0, v1, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method public nextByte()B .locals 2 iget v0, p0, Lcom/google/protobuf/ByteString$1;->position:I iget v1, p0, Lcom/google/protobuf/ByteString$1;->limit:I if-ge v0, v1, :cond_0 add-int/lit8 v1, v0, 0x1 iput v1, p0, Lcom/google/protobuf/ByteString$1;->position:I iget-object v1, p0, Lcom/google/protobuf/ByteString$1;->this$0:Lcom/google/protobuf/ByteString; .line 192 invoke-virtual {v1, v0}, Lcom/google/protobuf/ByteString;->internalByteAt(I)B move-result v0 return v0 .line 189 :cond_0 new-instance v0, Ljava/util/NoSuchElementException; invoke-direct {v0}, Ljava/util/NoSuchElementException;->()V throw v0 .end method