T - the conversion type@FunctionalInterface public interface Converter<T> extends Function<Value,T>, Serializable
convert(Value)| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID
The version of this interface for
serialization purposes. |
| Modifier and Type | Method and Description |
|---|---|
default T |
apply(Value value)
Calls the
convert(Value) method and returns its result. |
T |
convert(Value value)
Converts the supplied
Value into the appropriate kind of
object and returns the result. |
static final long serialVersionUID
serialization purposes.default T apply(Value value)
convert(Value) method and returns its result.apply in interface Function<Value,T>value - the Value to convert; may be nullnull)null.T convert(Value value)
Value into the appropriate kind of
object and returns the result.
Implementations of this method must not call the apply(Value) method.
value - the Value to convert; may be nullnull)null.Copyright © 2019–2020, microBean™. All rights reserved.