Class IntArrayLongArrayConverter

  • All Implemented Interfaces:
    Converter<int[],​long[]>

    public class IntArrayLongArrayConverter
    extends java.lang.Object
    implements Converter<int[],​long[]>
    Converts int[] to long[]
    Author:
    jschwarz
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long[] convert​(int[] integers)
      Converts the specified object and returns the conversion result.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IntArrayLongArrayConverter

        public IntArrayLongArrayConverter()
    • Method Detail

      • 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