Java Long to Int longToInt(long[] values)

Here you can find the source of longToInt(long[] values)

Description

long To Int

License

Open Source License

Declaration

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

Method Source Code

//package com.java2s;

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

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

Related

  1. longToInt(long d)
  2. longToInt(Long l)
  3. longToInt(long l)
  4. longToInt(Long l)
  5. longToInt(long value)
  6. longToIntArr(long[] longArr)
  7. longToIntArray(long value)
  8. longToIntBounds(long value)
  9. longToIntBytes(long a)