granularity level: instruction

		.class public Lcom/google/android/gms/common/data/DataBufferIterator;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-base@@18.0.1"
.implements Ljava/util/Iterator;

.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation

.field protected final zaa:Lcom/google/android/gms/common/data/DataBuffer;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/android/gms/common/data/DataBuffer<",
"TT;>;"
}
.end annotation
.end field
.field protected zab:I


.method public constructor <init>(Lcom/google/android/gms/common/data/DataBuffer;)V
	.locals 0
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Lcom/google/android/gms/common/data/DataBuffer<",
	"TT;>;)V"
	}
	.end annotation

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	invoke-static {p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object p1
	check-cast p1, Lcom/google/android/gms/common/data/DataBuffer;
	iput-object p1, p0, Lcom/google/android/gms/common/data/DataBufferIterator;->zaa:Lcom/google/android/gms/common/data/DataBuffer;
	const/4 p1, -0x1
	iput p1, p0, Lcom/google/android/gms/common/data/DataBufferIterator;->zab:I
	return-void
.end method

.method public final hasNext()Z
	.locals 2

	iget v0, p0, Lcom/google/android/gms/common/data/DataBufferIterator;->zab:I
	iget-object v1, p0, Lcom/google/android/gms/common/data/DataBufferIterator;->zaa:Lcom/google/android/gms/common/data/DataBuffer;
	invoke-interface {v1}, Lcom/google/android/gms/common/data/DataBuffer;->getCount()I
	move-result v1
	add-int/lit8 v1, v1, -0x1
	if-ge v0, v1, :cond_0
	const/4 v0, 0x1
	return v0
	:cond_0
	const/4 v0, 0x0
	return v0
.end method

.method public next()Ljava/lang/Object;
	.locals 4
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"()TT;"
	}
	.end annotation

	invoke-virtual {p0}, Lcom/google/android/gms/common/data/DataBufferIterator;->hasNext()Z
	move-result v0
	if-eqz v0, :cond_0
	iget-object v0, p0, Lcom/google/android/gms/common/data/DataBufferIterator;->zaa:Lcom/google/android/gms/common/data/DataBuffer;
	iget v1, p0, Lcom/google/android/gms/common/data/DataBufferIterator;->zab:I
	add-int/lit8 v1, v1, 0x1
	iput v1, p0, Lcom/google/android/gms/common/data/DataBufferIterator;->zab:I
	invoke-interface {v0, v1}, Lcom/google/android/gms/common/data/DataBuffer;->get(I)Ljava/lang/Object;
	move-result-object v0
	return-object v0
	:cond_0
	new-instance v0, Ljava/util/NoSuchElementException;
	iget v1, p0, Lcom/google/android/gms/common/data/DataBufferIterator;->zab:I
	new-instance v2, Ljava/lang/StringBuilder;
	const/16 v3, 0x2e
	invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(I)V
	const-string v3, "Cannot advance the iterator beyond "
	invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
	invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v1
	invoke-direct {v0, v1}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
	throw v0
.end method

.method public final remove()V
	.locals 2

	new-instance v0, Ljava/lang/UnsupportedOperationException;
	const-string v1, "Cannot remove elements from a DataBufferIterator"
	invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
	throw v0
.end method