iastoreStack
Before | After |
value | ... |
index | |
arrayref | |
... |
Takes an int from the stack and stores it in an array of ints. arrayref is a reference to an array of ints. index is an int. value is the int value to be stored in the array. arrayref, index and value are removed from the stack, and value is stored in the array at the given index.
Exceptions
NullPointerException - arrayref is null
ArrayIndexOutOfBoundsException - index is < 0 or >= arrayref.length
Bytecode Type
See Also Description u1 iastore opcode = 0x4F (79)
lastore, fastore, dastore, aastore, bastore, castore, sastore, iaload, laload, faload, daload, aaload, baload, caload, saload
Notes
Array indices start at 0 (the first entry in the array is at index 0).