Java Array Sub Array subArray(String a[], int from)

Here you can find the source of subArray(String a[], int from)

Description

sub Array

License

Apache License

Declaration

public static String[] subArray(String a[], int from) 

Method Source Code

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

public class Main {
    public static String[] subArray(String a[], int from) {
        if (from == 0)
            return a;
        String newa[] = new String[a.length - from];
        System.arraycopy(a, from, newa, 0, newa.length);
        return newa;
    }/* w  ww. j  a v a2  s  .c  om*/
}

Related

  1. subArray(int[] array, int startIndex, int theLength)
  2. subArray(Object a[], int from)
  3. subArray(Object in[], int start, int end)
  4. subArray(Object[] arr, int start, int length)
  5. subArray(Object[] data, int startIndex, int endIndex)
  6. subarray(String[] args, String sep)
  7. subArray(String[] array, int start, int endExclusive)
  8. subArray(String[] data, int index, int length)
  9. subarray(String[] master, int index)