Java Long to Int longToIntArr(long[] longArr)

Here you can find the source of longToIntArr(long[] longArr)

Description

long To Int Arr

License

Open Source License

Declaration

private static int[] longToIntArr(long[] longArr) 

Method Source Code

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

public class Main {
    private static int[] longToIntArr(long[] longArr) {
        int[] intArr = new int[longArr.length];
        for (int i = 0; i < longArr.length; i++) {
            intArr[i] = (int) longArr[i];
        }/*from  w w w  .j a va  2s  .co  m*/
        return intArr;
    }
}

Related

  1. longToInt(Long l)
  2. longToInt(long l)
  3. longToInt(Long l)
  4. longToInt(long value)
  5. longToInt(long[] values)
  6. longToIntArray(long value)
  7. longToIntBounds(long value)
  8. longToIntBytes(long a)
  9. longToIntClip(final long value)