Interface DatatypeConversionFunction.TypeConverter<RETURN,PARAM>
-
- Type Parameters:
RETURN
- return typePARAM
- parameter type
- Enclosing class:
- DatatypeConversionFunction<PARAM_T extends AttributeValue,RETURN_T extends AttributeValue>
public static interface DatatypeConversionFunction.TypeConverter<RETURN,PARAM>
Data converter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RETURN
convert(PARAM arg)
Converts a value from a type to the other
-
-
-
Method Detail
-
convert
RETURN convert(PARAM arg) throws IllegalArgumentException
Converts a value from a type to the other- Parameters:
arg
- parameter- Returns:
- value converted to the new type
- Throws:
IllegalArgumentException
- ifarg
cannot be converted to the expected return type
-
-