@Test public void testConvertFloatsToDoubles() { float[] input = null; double[] output = null; assertNull(ArrayUtils.convertFloatsToDoubles(input, output)); assertNull(ArrayUtils.convertFloatsToDoubles(input)); }
public static double[] convertFloatsToDoubles(float[] input, double[] output) { if (input == null || output == null) return output; for (int i = 0; i < input.length; ++i) { output[i] = (double) input[i]; } return output; }
ArrayUtils { public static double[] convertFloatsToDoubles(float[] input, double[] output) { if (input == null || output == null) return output; for (int i = 0; i < input.length; ++i) { output[i] = (double) input[i]; } return output; } }
ArrayUtils { public static double[] convertFloatsToDoubles(float[] input, double[] output) { if (input == null || output == null) return output; for (int i = 0; i < input.length; ++i) { output[i] = (double) input[i]; } return output; }  }
ArrayUtils { public static double[] convertFloatsToDoubles(float[] input, double[] output) { if (input == null || output == null) return output; for (int i = 0; i < input.length; ++i) { output[i] = (double) input[i]; } return output; }  static float[] convertDoublesToFloats(double[] input, float[] output); static float[] convertDoublesToFloats(double[] input); static double[] convertFloatsToDoubles(float[] input, double[] output); static double[] convertFloatsToDoubles(float[] input); static double[] concatAllDouble(double[] ... arrays); static float[] concatAllFloat(float[] ... arrays); static int[] concatAllInt(int[] ... arrays); static double[] getDoubleArrayFromBuffer(DoubleBuffer buffer); static float[] getFloatArrayFromBuffer(FloatBuffer buffer); static int[] getIntArrayFromBuffer(Buffer buffer); }
ArrayUtils { public static double[] convertFloatsToDoubles(float[] input, double[] output) { if (input == null || output == null) return output; for (int i = 0; i < input.length; ++i) { output[i] = (double) input[i]; } return output; }  static float[] convertDoublesToFloats(double[] input, float[] output); static float[] convertDoublesToFloats(double[] input); static double[] convertFloatsToDoubles(float[] input, double[] output); static double[] convertFloatsToDoubles(float[] input); static double[] concatAllDouble(double[] ... arrays); static float[] concatAllFloat(float[] ... arrays); static int[] concatAllInt(int[] ... arrays); static double[] getDoubleArrayFromBuffer(DoubleBuffer buffer); static float[] getFloatArrayFromBuffer(FloatBuffer buffer); static int[] getIntArrayFromBuffer(Buffer buffer);  }