Class ShortArrayIntArrayConverter

java.lang.Object
com.saperion.common.lang.conversion.array.ShortArrayIntArrayConverter
All Implemented Interfaces:
Converter<short[],int[]>

public class ShortArrayIntArrayConverter extends Object implements Converter<short[],int[]>
Converts a short[] to an int[]
Author:
jschwarz
  • Constructor Details

    • ShortArrayIntArrayConverter

      public ShortArrayIntArrayConverter()
  • Method Details

    • convert

      public int[] convert(short[] shorts)
      Description copied from interface: Converter
      Converts the specified object and returns the conversion result.

      Implementations have to accept null-values without throwing exceptions.

      Specified by:
      convert in interface Converter<short[],int[]>
      Parameters:
      shorts - object to convert
      Returns:
      the converted object