Java Object to Short castShortToFloat(short[] x)

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

Description

cast Short To Float

License

Open Source License

Declaration

public static float[] castShortToFloat(short[] x) 

Method Source Code

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

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

Related

  1. castShort(Object o)
  2. castShort(Object o)
  3. castShort(Object val)
  4. castToShort(final int value)
  5. castToShort(final String uid)
  6. castToShort(Object value)
  7. castToShort(Object value)