Class IntArrayShortArrayConverter

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

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

    • IntArrayShortArrayConverter

      public IntArrayShortArrayConverter()
  • Method Details

    • convert

      public short[] convert(int[] integers)
      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<int[],short[]>
      Parameters:
      integers - object to convert
      Returns:
      the converted object