|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.lang.Arrays
Arrays instead
@Deprecated public class Arrays
Arrays contains static methods which operate on arrays. This code is taken from the
Apache Harmony JDK, licensed under the Apache Software License 2.0.
| Constructor Summary | |
|---|---|
Arrays()
Deprecated. |
|
| Method Summary | ||
|---|---|---|
static
|
copyOf(T[] original,
int newLength)
Deprecated. Use Arrays.copyOf(Object[], int) |
|
static
|
copyOfRange(T[] original,
int start,
int end)
Deprecated. Use copyOfRange(Object[], int, int) |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Arrays()
| Method Detail |
|---|
@Deprecated
public static <T> T[] copyOf(T[] original,
int newLength)
Arrays.copyOf(Object[], int)
T - type of element in arrayoriginal - the original arraynewLength - the length of copied array
NegativeArraySizeException - if the newLength is smaller than zero
NullPointerException - if the original array is null
@Deprecated
public static <T> T[] copyOfRange(T[] original,
int start,
int end)
copyOfRange(Object[], int, int)
T - type of element in arrayoriginal - the original arraystart - the start index, inclusiveend - the end index, exclusive, may bigger than length of the array
ArrayIndexOutOfBoundsException - if start is smaller than 0 or bigger than original.length
IllegalArgumentException - if start is bigger than end
NullPointerException - if original is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||