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