Class IntArrayLongArrayConverter

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

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

    • IntArrayLongArrayConverter

      public IntArrayLongArrayConverter()
  • Method Details

    • convert

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