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