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.
@FunctionalInterface public interface Converter<I,O>
A class that knows how to convert one type of object to another.- Author:
- Garret Wilson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description O
convert(I input)
Converts the input to the output.
-