F
- the from typeT
- the to type@FunctionalInterface public interface Converter<F,T> extends Function<F,T>
Modifier and Type | Method | Description |
---|---|---|
default T |
apply(F value) |
|
T |
convert(F value) |
Convert the passed object to another object.
|
T convert(F value)
value
- the object to convertIllegalArgumentException
- describes a conversion error