Interface Converter<T>
-
- 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<T>
Converts a value to type T- Since:
- 2.0
- Version:
- $Id$
- Author:
- Claude Brisson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
convert(java.lang.Object o)
convert object to type T
-
-
-
Method Detail
-
convert
T convert(java.lang.Object o)
convert object to type T- Parameters:
o
- input object- Returns:
- converted object
-
-