packed-switch instruction.
| Modifier and Type | Field and Description |
|---|---|
| private final int[] | keys
array of key values |
| private final int[] | targets
array of target addresses. |
| Access | Constructor and Description |
|---|---|
| public | SparseSwitchPayloadDecodedInstruction(InstructionCodec format, int opcode, int[] keys, int[] targets)
Constructs an instance. |
| Modifier and Type | Method and Description |
|---|---|
| public int[] | |
| public int | |
| public int[] | |
| public DecodedInstruction | withIndex(int newIndex)
Implements abstract org. |
| keys | back to summary |
|---|---|
| private final int[] keys array of key values | |
| targets | back to summary |
|---|---|
| private final int[] targets array of target addresses. These are absolute, not relative, addresses. | |
| SparseSwitchPayloadDecodedInstruction | back to summary |
|---|---|
| public SparseSwitchPayloadDecodedInstruction(InstructionCodec format, int opcode, int[] keys, int[] targets) Constructs an instance. | |
| getKeys | back to summary |
|---|---|
| public int[] getKeys() | |
| getRegisterCount | back to summary |
|---|---|
| public int getRegisterCount() Implements abstract org. | |
| getTargets | back to summary |
|---|---|
| public int[] getTargets() | |
| withIndex | back to summary |
|---|---|
| public DecodedInstruction withIndex(int newIndex) Implements abstract org. Doc from org. Returns an instance just like this one, except with the index replaced with the given one. | |