Class FloatExtractor

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

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

    • FloatExtractor

      public FloatExtractor()
  • Method Details

    • extract

      @Nonnull public Float 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<Float>
      Parameters:
      resultElement - The ResultElement to transform.
      Returns:
      The resultElement as the given type.