|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jj2000.j2k.util.ArrayUtil
This class contains a colleaction of utility static methods for arrays.
Field Summary | |
static int |
INIT_EL_COPYING
The number of elements to copy initially in an optimized array copy |
static int |
MAX_EL_COPYING
The maximum array size to do element by element copying, larger arrays are copyied in a n optimized way. |
Constructor Summary | |
ArrayUtil()
|
Method Summary | |
static void |
byteArraySet(byte[] arr,
byte val)
Reinitializes a byte array to the given value in an optimized way. |
static void |
intArraySet(int[] arr,
int val)
Reinitializes an int array to the given value in an optimized way. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MAX_EL_COPYING
public static final int INIT_EL_COPYING
Constructor Detail |
public ArrayUtil()
Method Detail |
public static void intArraySet(int[] arr, int val)
arr
- The array to set.val
- The value to set the array to.public static void byteArraySet(byte[] arr, byte val)
arr
- The array to set.val
- The value to set the array to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |