public class JConditional extends Object implements JStatement
Modifier and Type | Method and Description |
---|---|
JBlock |
_else()
Create a block to be executed by "else" branch
|
JConditional |
_elseif(JExpression boolExp)
Creates {@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 © 2019 JBoss by Red Hat. All rights reserved.