Class ImplJIf

    • Method Detail

      • _else

        public JBlock _else()
        Description copied from interface: JIf
        Get the else condition block.
        Specified by:
        _else in interface JIf
        Returns:
        the else block
      • elseIf

        public JIf elseIf​(JExpr cond)
        Description copied from interface: JIf
        Add an if statement to the else block.
        Specified by:
        elseIf in interface JIf
        Parameters:
        cond - the subsequent if condition
        Returns:
        the subsequent if statement