Class DoubleArrayFloatArrayConverter

  • All Implemented Interfaces:
    Converter<double[],​float[]>

    public class DoubleArrayFloatArrayConverter
    extends java.lang.Object
    implements Converter<double[],​float[]>
    Converts a double[] to a float[]
    Author:
    jschwarz
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float[] convert​(double[] doubles)
      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

      • DoubleArrayFloatArrayConverter

        public DoubleArrayFloatArrayConverter()
    • Method Detail

      • convert

        public float[] convert​(double[] doubles)
        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<double[],​float[]>
        Parameters:
        doubles - object to convert
        Returns:
        the converted object