Java Integer to Long intToLong(int[] values)

Here you can find the source of intToLong(int[] values)

Description

int To Long

License

Open Source License

Declaration

public static long[] intToLong(int[] values) 

Method Source Code

//package com.java2s;

public class Main {
    public static long[] intToLong(int[] values) {
        if (values == null) {
            return null;
        }//w w w . j  a  va 2s .  c  o m

        long[] results = new long[values.length];
        for (int i = 0; i < values.length; i++) {
            results[i] = values[i];
        }
        return results;
    }
}

Related

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