com.jdroid.java.collections
Class ObjectArrays

java.lang.Object
  extended by com.jdroid.java.collections.ObjectArrays

public class ObjectArrays
extends Object


Constructor Summary
ObjectArrays()
           
 
Method Summary
static
<T> T[]
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
 

Constructor Detail

ObjectArrays

public ObjectArrays()
Method Detail

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 type
length - the length of the new array
Returns:
an Array


Copyright © 2014. All rights reserved.