Class ShortArrayIntArrayConverter

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int[] convert​(short[] shorts)
      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

      • ShortArrayIntArrayConverter

        public ShortArrayIntArrayConverter()
    • Method Detail

      • convert

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