public interface ValueFunction<F,T>
int, double is automatically supported as well as common conversion.| Modifier and Type | Interface and Description |
|---|---|
static class |
ValueFunction.ValueFunctionImpl<F,T>
Helper class to quickly define a
ValueFunction from a Function. |
| Modifier and Type | Method and Description |
|---|---|
T |
convertValue(F value) |
Class<F> |
getFromType() |
Class<T> |
getTargetType() |
@NonNull T convertValue(@NonNull F value) throws IncompatibleTypeException
IncompatibleTypeExceptionCopyright © 2011–2019. All rights reserved.