Package com.sap.cloud.sdk.result
Class DoubleExtractor
java.lang.Object
com.sap.cloud.sdk.result.DoubleExtractor
- All Implemented Interfaces:
ObjectExtractor<Double>
ObjectExtractor
implementation transforming a given ResultElement
to a Double
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionextract
(ResultElement resultElement) Extracts the value of the givenResultElement
as the typeT
.
-
Constructor Details
-
DoubleExtractor
public DoubleExtractor()
-
-
Method Details
-
extract
Description copied from interface:ObjectExtractor
Extracts the value of the givenResultElement
as the typeT
.- Specified by:
extract
in interfaceObjectExtractor<Double>
- Parameters:
resultElement
- TheResultElement
to transform.- Returns:
- The
resultElement
as the given type.
-