|
.useful Home Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dotuseful.util.ArrayMgr
This class contains various methods for manipulating arrays in addition to
java.util.Arrays
class.
Arrays
Method Summary | |
static int |
indexOf(boolean[] source,
boolean[] target,
int fromIndex)
Returns the index within source array of the first occurrence of the target array, starting at the specified index. |
static int |
indexOf(byte[] source,
byte[] target,
int fromIndex)
Returns the index within source array of the first occurrence of the target array, starting at the specified index. |
static int |
indexOf(char[] source,
char[] target,
int fromIndex)
Returns the index within source array of the first occurrence of the target array, starting at the specified index. |
static int |
indexOf(double[] source,
double[] target,
int fromIndex)
Returns the index within source array of the first occurrence of the target array, starting at the specified index. |
static int |
indexOf(float[] source,
float[] target,
int fromIndex)
Returns the index within source array of the first occurrence of the target array, starting at the specified index. |
static int |
indexOf(int[] source,
int[] target,
int fromIndex)
Returns the index within source array of the first occurrence of the target array, starting at the specified index. |
static int |
indexOf(long[] source,
long[] target,
int fromIndex)
Returns the index within source array of the first occurrence of the target array, starting at the specified index. |
static int |
indexOf(java.lang.Object[] source,
java.lang.Object[] target,
int fromIndex)
Returns the index within source array of the first occurrence of the target array, starting at the specified index. |
static int |
indexOf(short[] source,
short[] target,
int fromIndex)
Returns the index within source array of the first occurrence of the target array, starting at the specified index. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static int indexOf(boolean[] source, boolean[] target, int fromIndex)
source
- the array being searched.target
- the array being searched for.fromIndex
- the index to begin searching from.
public static int indexOf(byte[] source, byte[] target, int fromIndex)
source
- the bytes being searched.target
- the bytes being searched for.fromIndex
- the index to begin searching from.
public static int indexOf(char[] source, char[] target, int fromIndex)
source
- the chars being searched.target
- the chars being searched for.fromIndex
- the index to begin searching from.
public static int indexOf(short[] source, short[] target, int fromIndex)
source
- the array being searched.target
- the array being searched for.fromIndex
- the index to begin searching from.
public static int indexOf(int[] source, int[] target, int fromIndex)
source
- the array being searched.target
- the array being searched for.fromIndex
- the index to begin searching from.
public static int indexOf(long[] source, long[] target, int fromIndex)
source
- the array being searched.target
- the array being searched for.fromIndex
- the index to begin searching from.
public static int indexOf(float[] source, float[] target, int fromIndex)
source
- the array being searched.target
- the array being searched for.fromIndex
- the index to begin searching from.
public static int indexOf(double[] source, double[] target, int fromIndex)
source
- the array being searched.target
- the array being searched for.fromIndex
- the index to begin searching from.
public static int indexOf(java.lang.Object[] source, java.lang.Object[] target, int fromIndex)
source
- the array being searched.target
- the array being searched for.fromIndex
- the index to begin searching from.
|
© 2004 .useful community | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |