lload_n : retrieve long integer from local variables <n> and <n> + 1 : index :

Description
Retrieves the two-word long integer stored in local variables <n> and <n> + 1 and pushes it onto the operand stack. Both <n> and <n> + 1 must be valid local variable numbers in the current frame, and together they must be holding a long.

See the description of lload for more information on how longs are retrieved from local variables.

'lload_n' is functionally equivalent to 'lload <n>', although it is typically more efficient and also takes fewer bytes in the bytecode.
Example
lload_0         ;push long integer in local variable 0 and 1 onto stack
lload_1         ;push long integer in local variable 1 and 2 onto stack 
lload_2         ;push long integer in local variable 2 and 3 onto stack 
lload_3         ;push long integer in local variable 3 and 4 onto stack 
See also
fload iload dload
Stack
Before After
... result-word1
result-word2
...
Bytecode
Type Description
u1 lload_0 opcode = 0x1E (30)
u1 lload_1 opcode = 0x1F (31)
u1 lload_2 opcode = 0x20 (32)
u1 lload_3 opcode = 0x21 (33)