Java Integer Array Convert To intsToLongs(int... ints)

Here you can find the source of intsToLongs(int... ints)

Description

ints To Longs

License

LGPL

Declaration

public static long[] intsToLongs(int... ints) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    public static long[] intsToLongs(int... ints) {
        long g[] = new long[ints.length];
        for (int i = 0; i < ints.length; i++)
            g[i] = ints[i];//www .  j a  v a 2  s.  c  o  m
        return g;
    }
}

Related

  1. intsToCommaSeparatedString(int[] ints)
  2. intsToHex(int[] val)
  3. intsToIntegers(int... ints)
  4. intsToLong(int highBits, int lowBits)
  5. intsToLong(int off, int... arr)
  6. intsToUnsignedBytes(int[] sprite)