zzb.java
1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.google.android.gms.common.data;
import com.google.android.gms.common.internal.zzac;
import java.util.Iterator;
import java.util.NoSuchElementException;
public class zzb<T>
implements Iterator<T>
{
protected final DataBuffer<T> zzaDI;
protected int zzaDJ;
public zzb(DataBuffer<T> paramDataBuffer)
{
this.zzaDI = ((DataBuffer)zzac.zzw(paramDataBuffer));
this.zzaDJ = -1;
}
public boolean hasNext()
{
return this.zzaDJ < this.zzaDI.getCount() - 1;
}
public T next()
{
if (!hasNext())
{
i = this.zzaDJ;
throw new NoSuchElementException(46 + "Cannot advance the iterator beyond " + i);
}
DataBuffer localDataBuffer = this.zzaDI;
int i = this.zzaDJ + 1;
this.zzaDJ = i;
return (T)localDataBuffer.get(i);
}
public void remove()
{
throw new UnsupportedOperationException("Cannot remove elements from a DataBufferIterator");
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/google/android/gms/common/data/zzb.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/