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