SWITCH
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public | TABLESWITCH(final int[]
sorted array of match values, match[0] must be low value, match[match_length - 1] high value match, final InstructionHandle[] where to branch for matched values targets, final InstructionHandle default branch defaultTarget)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final Visitor
Visitor object v)Implements abstract com. Call corresponding visitor method(s). |
| public void | dump(final DataOutputStream
Output stream out)Overrides com. Dump instruction as byte code to stream out. |
| protected void | initFromFile(final ByteSequence bytes, final boolean wide)
Overrides com. Read needed data (e.g. index) from file. |
| TABLESWITCH | back to summary |
|---|---|
| pack-priv TABLESWITCH() Empty constructor needed for Instruction.readInstruction. Not to be used otherwise. | |
| TABLESWITCH | back to summary |
|---|---|
public TABLESWITCH(final int[] match, final InstructionHandle[] targets, final InstructionHandle defaultTarget)
| |
| accept | back to summary |
|---|---|
| public void accept(final Visitor v) Implements abstract com. Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last. | |
| dump | back to summary |
|---|---|
| public void dump(final DataOutputStream out) throws IOException Overrides com. Dump instruction as byte code to stream out.
| |
| initFromFile | back to summary |
|---|---|
| protected void initFromFile(final ByteSequence bytes, final boolean wide) throws IOException Overrides com. Read needed data (e.g. index) from file.
| |