code: private static Long[] castToLong( long[] d )
      {
          Long[] dest = new Long[d.length];
          for ( int i = 0; i < d.length; i++ )
          {
              dest[i] = (long)d[i];
          }
          return dest;
      }
docs: Casts <code>Double[]</code> to <code>byte[]</code>
  
  @param - source <code>Long[]</code>
  @return - result <code>long[]</code>