org.littleshoot.util
Class ArrayUtil

java.lang.Object
  extended by org.littleshoot.util.ArrayUtil

public final class ArrayUtil
extends Object

Utilities for working with arrays.


Constructor Summary
ArrayUtil()
           
 
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
 

Constructor Detail

ArrayUtil

public ArrayUtil()
Method Detail

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.