| Modifier and Type | Field and Description |
|---|---|
static SimpleStringValueResolver |
INSTANCE |
protected Map<Class,StringValueResolver> |
resolvers |
| Constructor and Description |
|---|
SimpleStringValueResolver() |
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(String s,
Class<?> aClass)
Apply the two params to the function
|
andThen, andThen, applyOrElse, curry, curry, lift, orElsebreakOutpublic static final SimpleStringValueResolver INSTANCE
protected Map<Class,StringValueResolver> resolvers
public Object apply(String s, Class<?> aClass) throws NotAppliedException, Osgl.Break
Osgl.Func2In case implementing a partial function, it can throw out an
NotAppliedException if the function is not defined for
the given parameter(s)
s - the first argument of type P1aClass - the second argument of type P2NotAppliedException - if the function doesn't apply to the parameter(s)Osgl.Break - to short cut collecting operations (fold/reduce) on an containerCopyright © 2017. All Rights Reserved.