T - the type of the instance been created by the factorypublic abstract static class Osgl.Factory<T> extends Osgl.F0<T>
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
T |
apply()
user application to implement main logic of applying the function
|
abstract T |
create()
The abstract create method that will be called by
the
apply() method |
breakOutpublic T apply() throws NotAppliedException, Osgl.Break
Osgl.Func0NotAppliedException - if the function doesn't apply to the current contextOsgl.Break - to short cut collecting operations (fold/reduce) on an containerCopyright © 2017. All Rights Reserved.