Package com.sap.cloud.sdk.result
Class FloatExtractor
java.lang.Object
com.sap.cloud.sdk.result.FloatExtractor
- All Implemented Interfaces:
ObjectExtractor<Float>
ObjectExtractor implementation transforming a given ResultElement to a Float.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextract(ResultElement resultElement) Extracts the value of the givenResultElementas the typeT.
-
Constructor Details
-
FloatExtractor
public FloatExtractor()
-
-
Method Details
-
extract
Description copied from interface:ObjectExtractorExtracts the value of the givenResultElementas the typeT.- Specified by:
extractin interfaceObjectExtractor<Float>- Parameters:
resultElement- TheResultElementto transform.- Returns:
- The
resultElementas the given type.
-