|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.io.instructions.BaseCodeCursor
com.android.dx.io.instructions.ShortArrayCodeInput
public final class ShortArrayCodeInput
Implementation of CodeInput that reads from a short[].
| Constructor Summary | |
|---|---|
ShortArrayCodeInput(short[] array)
Constructs an instance. |
|
| Method Summary | |
|---|---|
boolean |
hasMore()
Returns whether there are any more code units to read. |
int |
read()
Reads a code unit. |
int |
readInt()
Reads two code units, treating them as a little-endian int. |
long |
readLong()
Reads four code units, treating them as a little-endian long. |
| Methods inherited from class com.android.dx.io.instructions.BaseCodeCursor |
|---|
advance, baseAddressForCursor, cursor, setBaseAddress |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.android.dx.io.instructions.CodeCursor |
|---|
baseAddressForCursor, cursor, setBaseAddress |
| Constructor Detail |
|---|
public ShortArrayCodeInput(short[] array)
| Method Detail |
|---|
public boolean hasMore()
CodeInputhasNext() on an interator.
hasMore in interface CodeInput
public int read()
throws EOFException
CodeInput
read in interface CodeInputEOFException
public int readInt()
throws EOFException
CodeInputint.
readInt in interface CodeInputEOFException
public long readLong()
throws EOFException
CodeInputlong.
readLong in interface CodeInputEOFException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||