85 lines
2.1 KiB
Smali
85 lines
2.1 KiB
Smali
.class final Lcom/google/android/gms/internal/measurement/ck;
|
|
.super Lcom/google/android/gms/internal/measurement/cm;
|
|
|
|
|
|
# instance fields
|
|
.field private final synthetic aqQ:Lcom/google/android/gms/internal/measurement/cj;
|
|
|
|
.field private final limit:I
|
|
|
|
.field private position:I
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/google/android/gms/internal/measurement/cj;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/measurement/ck;->aqQ:Lcom/google/android/gms/internal/measurement/cj;
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/cm;-><init>()V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput p1, p0, Lcom/google/android/gms/internal/measurement/ck;->position:I
|
|
|
|
iget-object p1, p0, Lcom/google/android/gms/internal/measurement/ck;->aqQ:Lcom/google/android/gms/internal/measurement/cj;
|
|
|
|
invoke-virtual {p1}, Lcom/google/android/gms/internal/measurement/cj;->size()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/google/android/gms/internal/measurement/ck;->limit:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final hasNext()Z
|
|
.locals 2
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/ck;->position:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/ck;->limit:I
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final nextByte()B
|
|
.locals 2
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/ck;->position:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/ck;->limit:I
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
add-int/lit8 v1, v0, 0x1
|
|
|
|
iput v1, p0, Lcom/google/android/gms/internal/measurement/ck;->position:I
|
|
|
|
iget-object v1, p0, Lcom/google/android/gms/internal/measurement/ck;->aqQ:Lcom/google/android/gms/internal/measurement/cj;
|
|
|
|
invoke-virtual {v1, v0}, Lcom/google/android/gms/internal/measurement/cj;->bu(I)B
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/util/NoSuchElementException;
|
|
|
|
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
|
|
|
|
throw v0
|
|
.end method
|