JStatement
public class JConditional extends java.lang.Object implements JStatement
Modifier and Type | Method | Description |
---|---|---|
JBlock |
_else() |
Create a block to be executed by "else" branch
|
JConditional |
_elseif(JExpression boolExp) |
Creates
... else if(...) ... code. |
JBlock |
_then() |
Return the block to be excuted by the "then" branch
|
void |
state(JFormatter f) |
public JBlock _then()
public JBlock _else()
public JConditional _elseif(JExpression boolExp)
... else if(...) ...
code.public void state(JFormatter f)
state
in interface JStatement
Copyright © 2018 Oracle Corporation. All rights reserved.