Class DoubleWrapperArrayDoubleConverter

  • All Implemented Interfaces:
    Converter<java.lang.Double[],​double[]>

    public class DoubleWrapperArrayDoubleConverter
    extends java.lang.Object
    implements Converter<java.lang.Double[],​double[]>
    Converts Double[] to double[] Will convert null to 0.
    Author:
    jschwarz
    • Method Summary

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

      • DoubleWrapperArrayDoubleConverter

        public DoubleWrapperArrayDoubleConverter()
    • Method Detail

      • convert

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