public interface Switch extends ConditionalStatement
Statement subinterface for the switch construct.| Modifier and Type | Method and Description |
|---|---|
List<Case> |
getCases()
Gets the set of cases as an list of
Case. |
Default |
getDefault()
Gets the default case.
|
Case |
newCase(Expression constant)
Adds a new
Case to the set of cases. |
getPredicate, setPredicatecomment, getLabel, isAbruptCompletionStatement, setLabelgetStatements, insertStatement, insertStatement, newBreak, newContinue, newDeclarationLet, newDoWhile, newEmpty, newFor, newIf, newLet, newLocalBlock, newLocalClass, newLocalClass, newReturn, newStmt, newSwitch, newSynchronized, newThrow, newTry, newWhile, removeStmtapplyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vmDefault getDefault()
Case newCase(Expression constant)
Case to the set of cases.Copyright © 2000–2018 jenesis4java. All rights reserved.