Class ShortExtractor

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

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

    • ShortExtractor

      public ShortExtractor()
  • Method Details

    • extract

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