Module litebridge.converter
Interface ConverterFunction<T>
- Type Parameters:
T- the target type of the conversion
- All Known Subinterfaces:
Converter<T>,SqlConverter<T>
- All Known Implementing Classes:
AbstractNumberConverter,AbstractStringParsingConverter,BigDecimalConverter,BigIntegerConverter,BooleanConverter,ByteArrayConverter,ByteConverter,CharacterConverter,DoubleConverter,FloatConverter,GenericConverter,GenericSqlConverter,IntegerConverter,LongConverter,ShortConverter,SqlDateConverter,SqlTimeConverter,SqlTimestampConverter,StringConverter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface for converting an object to a specific type.
-
Method Summary
-
Method Details
-
convert
Converts the given value to the target type.- Parameters:
value- the value to convert, may benull- Returns:
- the converted value, or
nullif the input wasnullor could not be converted
-