⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gifthenelse.java

📁 UML设计测试工具
💻 JAVA
字号:
package org.tzi.use.gen.assl.statics;/** * @see org.tzi.use.gen.assl.statics * @author  Hanna Bauerdick */public class GIfThenElse extends GInstruction {    private GInstructionList fThenInstructionList;    private GInstructionList fElseInstructionList;    private GValueInstruction fConditionInstr;    public GIfThenElse() {        fThenInstructionList = new GInstructionList();        fElseInstructionList = new GInstructionList();        fConditionInstr = null;    }    public void setConditionInstr( GValueInstruction conditionInstr ) {        fConditionInstr = conditionInstr;    }      public void addThenInstruction( GInstruction instr ) {        fThenInstructionList.add( instr );    }      public void addElseInstruction( GInstruction instr ) {        fElseInstructionList.add( instr );    }      public GValueInstruction conditionInstr() {        return fConditionInstr;    }    public GInstructionList thenInstructionList() {        return fThenInstructionList;    }       public GInstructionList elseInstructionList() {        return fElseInstructionList;    }       public String toString() {        return "if " + fConditionInstr + " then begin ... end else begin ... end";    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -