Class IntegerExtractor

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

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

    • IntegerExtractor

      public IntegerExtractor()
  • Method Details

    • extract

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