Class IntArrayByteArrayConverter

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

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

    • IntArrayByteArrayConverter

      public IntArrayByteArrayConverter()
  • Method Details

    • convert

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