Package de.ufinke.cubaja.cafebabe
Class BranchTable
- java.lang.Object
-
- de.ufinke.cubaja.cafebabe.BranchTable
-
public class BranchTable extends Object
Parameter forlookupswitchandtableswitchinstructions. For definition of jump targets (labels) seedefineLabel.- Author:
- Uwe Finke
-
-
Constructor Summary
Constructors Constructor Description BranchTable(String defaultLabelName)Constructor with the default jump target.
-
-
-
Constructor Detail
-
BranchTable
public BranchTable(String defaultLabelName)
Constructor with the default jump target.- Parameters:
defaultLabelName- label of the default jump target
-
-
Method Detail
-
addBranch
public void addBranch(int key, String labelName)Adds a jump target.- Parameters:
key- case valuelabelName- label of the key's jump target
-
-