public abstract class VariableSizeLookaheadIterator<T>
extends com.google.common.collect.AbstractIterator<T>
implements java.util.Iterator<T>
| Modifier | Constructor and Description |
|---|---|
protected |
VariableSizeLookaheadIterator(DexBuffer buffer,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
computeNext() |
int |
getReaderOffset() |
protected abstract T |
readNextItem(DexReader reader)
Reads the next item from reader.
|
endOfData, hasNext, next, peekprotected VariableSizeLookaheadIterator(@Nonnull
DexBuffer buffer,
int offset)
@Nullable protected abstract T readNextItem(@Nonnull DexReader reader)
return endOfData()protected T computeNext()
computeNext in class com.google.common.collect.AbstractIterator<T>public final int getReaderOffset()