|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jas.util.ArrayUtil
public class ArrayUtil
Array utilities. For example copyOf from Java 6. Note: unused at the moment since it is not working in Java 5.
Constructor Summary | |
---|---|
ArrayUtil()
|
Method Summary | ||
---|---|---|
static
|
copyOf(T[] original)
Copy the specified array. |
|
static
|
copyOf(T[] original,
int newLength)
Copy the specified array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayUtil()
Method Detail |
---|
public static <T> T[] copyOf(T[] original, int newLength)
original
- array.newLength
- new array length.
public static <T> T[] copyOf(T[] original)
original
- array.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |