Java Array Sub Array subset(String[] array, int starting, int width)

Here you can find the source of subset(String[] array, int starting, int width)

Description

subset

License

LGPL

Declaration

private final static String[] subset(String[] array, int starting, int width) 

Method Source Code

//package com.java2s;
// terms of the Lesser GNU General Public License (LGPL)

public class Main {
    private final static String[] subset(String[] array, int starting, int width) {
        String[] subset = new String[width];
        System.arraycopy(array, starting, subset, 0, width);
        return subset;
    }//from w ww. j a va  2s  . com

    private final static String[] subset(String[] array, int starting) {
        return subset(array, starting, array.length - starting);
    }
}

Related

  1. subset(boolean[] array, int start, int end)
  2. subset(byte[] a, int begin_index, int len)
  3. subset(byte[] array, int start, int length)
  4. subset(final char[] array, final int start, final int length)
  5. subset(int start, int count, byte[] source)
  6. subset(String[] in, int begin)
  7. subset(String[] tokens, int offset)
  8. substr(byte[] array, int start, int count)
  9. tail(final byte[] a, final int length)