Class DoubleExtractor

java.lang.Object
com.sap.cloud.sdk.result.DoubleExtractor
All Implemented Interfaces:
ObjectExtractor<Double>

public class DoubleExtractor extends Object implements ObjectExtractor<Double>
ObjectExtractor implementation transforming a given ResultElement to a Double.
  • Constructor Details

    • DoubleExtractor

      public DoubleExtractor()
  • Method Details

    • extract

      @Nonnull public Double extract(@Nonnull ResultElement resultElement)
      Description copied from interface: ObjectExtractor
      Extracts the value of the given ResultElement as the type T.
      Specified by:
      extract in interface ObjectExtractor<Double>
      Parameters:
      resultElement - The ResultElement to transform.
      Returns:
      The resultElement as the given type.