public class JSwitch extends Object implements IJStatement
| Modifier | Constructor and Description |
|---|---|
protected |
JSwitch(IJExpression aTestExpr)
Construct a switch statement
|
| Modifier and Type | Method and Description |
|---|---|
JCase |
_case(IJExpression label) |
JCase |
_default() |
Iterator<JCase> |
cases() |
void |
state(JFormatter f) |
IJExpression |
test() |
protected JSwitch(@Nonnull IJExpression aTestExpr)
aTestExpr - expression@Nonnull public IJExpression test()
@Nonnull public JCase _case(@Nonnull IJExpression label)
public void state(@Nonnull JFormatter f)
state in interface IJStatementCopyright © 2013–2015 Philip Helger. All rights reserved.