|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.inject.internal.ObjectArrays
public final class ObjectArrays
Static utility methods pertaining to object arrays.
Method Summary | ||
---|---|---|
static
|
newArray(T[] reference,
int length)
Returns a new array of the given length with the same type as a reference array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T> T[] newArray(T[] reference, int length)
reference
- any array of the desired typelength
- the length of the new array
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |