Java Long Number Create toLong(double[] in, long[] out)

Here you can find the source of toLong(double[] in, long[] out)

Description

to Long

License

Open Source License

Declaration

public static void toLong(double[] in, long[] out) 

Method Source Code

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

public class Main {
    public static void toLong(double[] in, long[] out) {
        for (int i = 0; i < in.length; i++) {
            out[i] = (long) Math.round(in[i]);
        }/*from  w  ww .  j  a v  a 2 s  .  c  o  m*/
    }
}

Related

  1. toLong(byte[] v)
  2. toLong(byte[] value)
  3. toLong(byte[] value)
  4. toLong(byte[] vint)
  5. toLong(double val)
  6. toLong(double[] v)
  7. toLong(final byte[] array, final int offset, final int length)
  8. toLong(final byte[] b)
  9. toLong(final byte[] b, final int offset)