public final class IlrForStatement extends IlrStatementBlock
Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of IBM Decision Server.
| Modifier and Type | Class and Description |
|---|---|
static class |
IlrForStatement.ForBlock
This class represents the inner block part of an
for
statement. |
| Constructor and Description |
|---|
IlrForStatement(IlrStatement[] initStmts,
IlrTest continueTest,
IlrStatement[] stepStmts,
IlrStatement[] statements)
Constructs a for instruction.
|
IlrForStatement(IlrStatement initStmt,
IlrTest continueTest,
IlrStatement stepStmt,
IlrStatement[] statements)
Constructs a for instruction.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
exploreStatement(IlrFactoryExplorer explorer)
Explores this method call as a statement using a factory explorer.
|
IlrTest |
getContinueTest()
Returns the test of this statement.
|
IlrForStatement.ForBlock |
getInitBlock()
Returns the init block of this statement.
|
IlrForStatement.ForBlock |
getStepBlock()
Returns the step block of this statement.
|
boolean |
hasContinueTest()
Knows if the test of this statement exists.
|
addStatement, enumerateStatements, getStatementCount, getStatements, removeStatementpublic IlrForStatement(IlrStatement[] initStmts, IlrTest continueTest, IlrStatement[] stepStmts, IlrStatement[] statements)
initStmts - the init statementscontinueTest - the for continue teststepStmts - the step statements.statements - the statements of the inner block.public IlrForStatement(IlrStatement initStmt, IlrTest continueTest, IlrStatement stepStmt, IlrStatement[] statements)
initStmt - the bind init statementcontinueTest - the for continue teststepStmt - the next statement.statements - the statements of the inner block.public java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
explorer - The factory explorer.null
if the method does not return a value.public IlrTest getContinueTest()
IlrTest representing the test.public boolean hasContinueTest()
boolean representing the result.public IlrForStatement.ForBlock getInitBlock()
ForBlock representing the init blockpublic IlrForStatement.ForBlock getStepBlock()
ForBlock representing the step block© Copyright IBM Corp. 1987, 2017