Package com.helger.commons.typeconvert
Interface ITypeConverter<SRC,DST>
-
- Type Parameters:
SRC- source typeDST- destination type
- All Superinterfaces:
Function<SRC,DST>
- All Known Subinterfaces:
ITypeConverterRule<SRC,DST>
- All Known Implementing Classes:
AbstractTypeConverterRule,TypeConverterRuleAnySourceFixedDestination,TypeConverterRuleAssignableSourceFixedDestination,TypeConverterRuleFixedSourceAnyDestination,TypeConverterRuleFixedSourceAssignableDestination
- 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 ITypeConverter<SRC,DST> extends Function<SRC,DST>
Special interface that is used to convert between values of different types.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DSTapply(SRC aSource)Convert the passed source object to the destination type.
-