| Constructor and Description |
|---|
FuncBase() |
| Modifier and Type | Method and Description |
|---|---|
protected Lang.Break |
breakOut(Object payload)
Return a
Lang.Break with payload. |
protected final Lang.Break breakOut(Object payload)
Return a Lang.Break with payload. Here is an example of how to use this method:
myData.accept(new Visitor(){ public void apply(T e) { if (…) { throw breakOut(e); } } }) payload - the object passed through the BreakLang.Break instanceCopyright © 2014–2019 OSGL (Open Source General Library). All rights reserved.