Class JSwitch

  • All Implemented Interfaces:
    JStatement

    public final class JSwitch
    extends java.lang.Object
    implements JStatement
    Switch statement
    • Field Detail

      • test

        private JExpression test
        Test part of switch statement.
      • cases

        private java.util.List<JCase> cases
        vector of JCases.
      • defaultCase

        private JCase defaultCase
        a single default case
    • Constructor Detail

      • JSwitch

        JSwitch​(JExpression test)
        Construct a While statment