Java Integer to Long intToLongArr(int[] intArr)

Here you can find the source of intToLongArr(int[] intArr)

Description

int To Long Arr

License

Open Source License

Declaration

private static long[] intToLongArr(int[] intArr) 

Method Source Code

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

public class Main {
    private static long[] intToLongArr(int[] intArr) {
        long[] longArr = new long[intArr.length];
        for (int i = 0; i < intArr.length; i++) {
            longArr[i] = Long.valueOf(intArr[i]).intValue();
        }/*  www  . ja v a2  s.co m*/
        return longArr;
    }
}

Related

  1. int2long(int i)
  2. int2long(int tInt)
  3. intToLong(final int value)
  4. intToLong(int high, int low)
  5. intToLong(int[] values)