| 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, Lang.Break
Lang.Func2Apply the two params to the function
In 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)Lang.Break - to short cut collecting operations (fold/reduce) on an containerCopyright © 2014–2021 OSGL (Open Source General Library). All rights reserved.