Top Description Methods
tech.uom.lib.common.function

public Interface Converter<F, T>

Annotations
@FunctionalInterface
Type Parameters
<F>
the type to convert from
<T>
the type to convert to

Represents an operation to convert values.

This is a functional interface whose functional method is convert(F).

Author
Werner Keil
Since
2.0
Version
1.1, 2018-04-19
See Also
Wikipedia: Data Conversion

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

the converted result.
convert
(F
the value to convert
from
)

Returns a F converted into a T.

Method Detail

convertback to summary
public T convert(F from)

Returns a F converted into a T.

Parameters
from:F

the value to convert

Returns:T

the converted result.