R - the generic type of the return value, could be Voidpublic static interface Lang.Func0<R>
Define a function that apply to no parameter (strictly this is not a function)
Lang.Function,
Lang.Func2,
Lang.Func3,
Lang.Func4,
Lang.Func5,
Lang.F0| Modifier and Type | Method and Description |
|---|---|
R |
apply()
user application to implement main logic of applying the function
|
R apply() throws NotAppliedException, Lang.Break
user application to implement main logic of applying the function
NotAppliedException - if the function doesn’t apply to the current contextLang.Break - to short cut collecting operations (fold/reduce) on an containerCopyright © 2014–2019 OSGL (Open Source General Library). All rights reserved.