org.littleshoot.util
Class ArrayUtil
java.lang.Object
org.littleshoot.util.ArrayUtil
public final class ArrayUtil
- extends Object
Utilities for working with arrays.
|
Method Summary |
static String[] |
subarrayOf(String[] array,
int start,
int end)
Returns a new array with the elements between [start, end). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayUtil
public ArrayUtil()
subarrayOf
public static String[] subarrayOf(String[] array,
int start,
int end)
- Returns a new array with the elements between [start, end).
- Parameters:
array - The array to get a subarray of.start - The start index (inclusive).end - The end index (exclusive);
- Returns:
- A new array with the elements between [start, end).
Copyright © 2011-2013 LittleShoot. All Rights Reserved.