Class IntArrayIntegerArrayConverter

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

public class IntArrayIntegerArrayConverter extends Object implements Converter<int[],Integer[]>
converts int[] to Integer[]
Author:
jschwarz
  • Constructor Details

    • IntArrayIntegerArrayConverter

      public IntArrayIntegerArrayConverter()
  • Method Details

    • convert

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