Class SwitchTable


  • class SwitchTable
    extends java.lang.Object
    • Field Detail

      • labels

        java.util.ArrayList<Argument> labels
      • keys

        java.util.ArrayList<java.lang.Integer> keys
      • high

        int high
      • low

        int low
      • pc

        int pc
      • pad

        int pad
    • Constructor Detail

    • Method Detail

      • addEntry

        void addEntry​(int key,
                      Argument label)
      • calcLookupSwitch

        int calcLookupSwitch​(int pc)
      • writeLookupSwitch

        void writeLookupSwitch​(CheckedDataOutputStream out)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • recalcTableSwitch

        int recalcTableSwitch​(int pc)
      • writeTableSwitch

        void writeTableSwitch​(CheckedDataOutputStream out)
                       throws java.io.IOException
        Throws:
        java.io.IOException