T - the type of the parent to return on completionpublic final class SwitchBuilder<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
CaseBuilder<T> |
caseBlock(int value) |
CaseBuilder<T> |
defaultCase() |
T |
endSwitch() |
SwitchBuilder<T> |
gotoLabel(int value,
String label) |
<U> U |
map(Function<SwitchBuilder<T>,U> function) |
public CaseBuilder<T> caseBlock(int value)
public SwitchBuilder<T> gotoLabel(int value, String label)
public CaseBuilder<T> defaultCase()
public T endSwitch()
public <U> U map(Function<SwitchBuilder<T>,U> function)
Copyright © 2014. All Rights Reserved.