Java Object to Double castShortToDouble(short[] x)

Here you can find the source of castShortToDouble(short[] x)

Description

cast Short To Double

License

Open Source License

Declaration

public static double[] castShortToDouble(short[] x) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static double[] castShortToDouble(short[] x) {
        double[] res = new double[x.length];
        for (int i = 0; i < x.length; i++)
            res[i] = x[i];//from  ww  w  .j av  a 2  s  .  c  o m
        return res;
    }
}

Related

  1. asDouble(Object value)
  2. asDouble(Object value)
  3. asDouble(Object value)
  4. castDouble(Object o)
  5. castDoubleToFloat(final double v)
  6. castToDouble(Object object)
  7. castToDoubleArray(byte[] data)
  8. castToDoubleArray(Object[] array)
  9. castToDoubles(final int[] ints)