forstatement.java
来自「plugin for eclipse」· Java 代码 · 共 69 行
JAVA
69 行
/*
* Created on May 25, 2005
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package isis.anp.nesc.ot;
/**
* @author sallai
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class ForStatement extends Statement {
Expression initExpression;
Expression condition;
Expression updateExpression;
Statement loopStatement;
/**
* @return Returns the condition.
*/
public Expression getCondition() {
return condition;
}
/**
* @param condition The condition to set.
*/
public void setCondition(Expression condition) {
this.condition = condition;
}
/**
* @return Returns the loopStatement.
*/
public Statement getLoopStatement() {
return loopStatement;
}
/**
* @param loopStatement The loopStatement to set.
*/
public void setLoopStatement(Statement loopStatement) {
this.loopStatement = loopStatement;
}
/**
* @return Returns the initExpressiron.
*/
public Expression getInitExpression() {
return initExpression;
}
/**
* @param initExpressiron The initExpressiron to set.
*/
public void setInitExpression(Expression initExpression) {
this.initExpression = initExpression;
}
/**
* @return Returns the updateExpression.
*/
public Expression getUpdateExpression() {
return updateExpression;
}
/**
* @param updateExpression The updateExpression to set.
*/
public void setUpdateExpression(Expression updateExpression) {
this.updateExpression = updateExpression;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?