Class LongArrayIntArrayConverter

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

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

    • LongArrayIntArrayConverter

      public LongArrayIntArrayConverter()
  • Method Details

    • convert

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