com.jdroid.java.collections
Class ObjectArrays
java.lang.Object
com.jdroid.java.collections.ObjectArrays
public class ObjectArrays
- extends Object
|
Method Summary |
static
|
newArray(Class<T> type,
int length)
Returns a new array of the given length with the specified component type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectArrays
public ObjectArrays()
newArray
public static <T> T[] newArray(Class<T> type,
int length)
- Returns a new array of the given length with the specified component type.
- Parameters:
type - the component typelength - the length of the new array
- Returns:
- an Array
Copyright © 2014. All rights reserved.