org.apache.geronimo.interop.util
Class ArrayUtil
java.lang.Object
org.apache.geronimo.interop.util.ArrayUtil
- public class ArrayUtil
- extends java.lang.Object
|
Method Summary |
static byte[] |
concat(byte[] x,
byte[] y)
|
static byte[] |
copy(byte[] x)
|
static byte[] |
getBytes(byte[] x,
int offset,
int length)
|
static int |
indexOf(byte[] x,
byte b)
|
static int |
indexOf(byte[] x,
byte b,
int startOffset)
|
static boolean[] |
newBooleanArray(int size,
boolean[] init)
|
static byte[] |
newByteArray(int size,
byte[] init)
|
static char[] |
newCharArray(int size,
char[] init)
|
static double[] |
newDoubleArray(int size,
double[] init)
|
static float[] |
newFloatArray(int size,
float[] init)
|
static int[] |
newIntArray(int size,
int[] init)
|
static long[] |
newLongArray(int size,
long[] init)
|
static java.lang.Object[] |
newObjectArray(int size,
java.lang.Object[] init)
|
static java.lang.Object[] |
newObjectArray(int size,
java.lang.Object[] init,
java.lang.Class type)
|
static short[] |
newShortArray(int size,
short[] init)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_BOOLEAN_ARRAY
public static final boolean[] EMPTY_BOOLEAN_ARRAY
EMPTY_CHAR_ARRAY
public static final char[] EMPTY_CHAR_ARRAY
EMPTY_BYTE_ARRAY
public static final byte[] EMPTY_BYTE_ARRAY
EMPTY_SHORT_ARRAY
public static final short[] EMPTY_SHORT_ARRAY
EMPTY_INT_ARRAY
public static final int[] EMPTY_INT_ARRAY
EMPTY_LONG_ARRAY
public static final long[] EMPTY_LONG_ARRAY
EMPTY_FLOAT_ARRAY
public static final float[] EMPTY_FLOAT_ARRAY
EMPTY_DOUBLE_ARRAY
public static final double[] EMPTY_DOUBLE_ARRAY
EMPTY_CLASS_ARRAY
public static final java.lang.Class[] EMPTY_CLASS_ARRAY
EMPTY_OBJECT_ARRAY
public static final java.lang.Object[] EMPTY_OBJECT_ARRAY
EMPTY_STRING_ARRAY
public static final java.lang.String[] EMPTY_STRING_ARRAY
ArrayUtil
public ArrayUtil()
copy
public static byte[] copy(byte[] x)
concat
public static byte[] concat(byte[] x,
byte[] y)
getBytes
public static byte[] getBytes(byte[] x,
int offset,
int length)
indexOf
public static int indexOf(byte[] x,
byte b)
indexOf
public static int indexOf(byte[] x,
byte b,
int startOffset)
newBooleanArray
public static boolean[] newBooleanArray(int size,
boolean[] init)
newCharArray
public static char[] newCharArray(int size,
char[] init)
newByteArray
public static byte[] newByteArray(int size,
byte[] init)
newShortArray
public static short[] newShortArray(int size,
short[] init)
newIntArray
public static int[] newIntArray(int size,
int[] init)
newLongArray
public static long[] newLongArray(int size,
long[] init)
newFloatArray
public static float[] newFloatArray(int size,
float[] init)
newDoubleArray
public static double[] newDoubleArray(int size,
double[] init)
newObjectArray
public static java.lang.Object[] newObjectArray(int size,
java.lang.Object[] init)
newObjectArray
public static java.lang.Object[] newObjectArray(int size,
java.lang.Object[] init,
java.lang.Class type)
Copyright © 2005 Apache Software Foundation. All Rights Reserved.