Package com.globalmentor.model
Interface Converter<I,O>
- Type Parameters:
I
- The input type.O
- The output type.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A class that knows how to convert one type of object to another.
- Author:
- Garret Wilson
-
Method Summary
-
Method Details
-
convert
Converts the input to the output.- Parameters:
input
- The input value to convert.- Returns:
- The output value.
- Throws:
IllegalArgumentException
- If there was an error converting the value.
-