Java Object Type Case castAsDoubleArray(int[] input)

Here you can find the source of castAsDoubleArray(int[] input)

Description

cast As Double Array

License

Open Source License

Declaration

public static double[] castAsDoubleArray(int[] input) 

Method Source Code

//package com.java2s;

public class Main {
    public static double[] castAsDoubleArray(int[] input) {
        double[] output;

        output = new double[input.length];

        for (int i = 0; i < input.length; i++) {

            output[i] = (double) input[i];

        }/*w ww  .  j av a  2 s  . com*/

        return output;
    }
}

Related

  1. cast(Object[] parameters, Class[] types)
  2. cast(String type)
  3. castAndThrow(Throwable e)
  4. castArray(Object[] array, T[] targetArray)
  5. castAs(Class clazz, Object obj)
  6. castClass(Class aClass)
  7. castClone(U obj, T superClone)
  8. castEnum(Enum enum_param)
  9. castEnum(T from, U[] to)