T
- the type to convertR
- the desired type@FunctionalInterface public interface Converter<T,R> extends Function<T,R>
StringToUUID
Modifier and Type | Method and Description |
---|---|
R |
apply(T object)
Applies the conversion to the given value, transforming the object in a new type.
|
R apply(T object) throws ConversionException
apply
in interface Function<T,R>
object
- the value to convertConversionException
- if something went wrongCopyright © 2021. All rights reserved.