Class IntArrayIntegerArrayConverter

  • All Implemented Interfaces:
    Converter<int[],​java.lang.Integer[]>

    public class IntArrayIntegerArrayConverter
    extends java.lang.Object
    implements Converter<int[],​java.lang.Integer[]>
    converts int[] to Integer[]
    Author:
    jschwarz
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer[] convert​(int[] object)
      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

      • IntArrayIntegerArrayConverter

        public IntArrayIntegerArrayConverter()
    • Method Detail

      • convert

        public java.lang.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[],​java.lang.Integer[]>
        Parameters:
        object - object to convert
        Returns:
        the converted object