Java Array Sub Array subArray(double[] array, int startIndex, int length)

Here you can find the source of subArray(double[] array, int startIndex, int length)

Description

sub Array

License

Apache License

Declaration

public static double[] subArray(double[] array, int startIndex, int length) 

Method Source Code

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

public class Main {
    public static double[] subArray(double[] array, int startIndex, int length) {

        double[] result = new double[length];

        System.arraycopy(array, startIndex, result, 0, length);

        return result;
    }/* ww  w . j a  v a  2 s .  c o m*/
}

Related

  1. subArray(byte[] src, int start, int limit)
  2. subarray(byte[] text, int from, int to)
  3. subarray(char[][] array, int start, int end)
  4. subArray(double[] a, int begin, int end)
  5. subArray(double[] arr, int start, int fim)
  6. subarray(double[] orig, int off, int len)
  7. subarray(double[] orig, int off, int len)
  8. subArray(E[] array, int start)
  9. subArray(final byte[] source, final int start, final int length)