|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutils.ArrayUtils
public final class ArrayUtils
Singleton class
| Constructor Summary | |
|---|---|
ArrayUtils()
|
|
| Method Summary | |
|---|---|
static int |
highestValueIndex(float[] anArray)
Returns the index of the highest value found in array, or the index of the first encountered if tie |
static int[] |
indexesOf(boolean[] arr,
boolean val)
Return an array with the indexes of the given array that have the value given or null if nothing is found |
static int[] |
indexesOf(int[] arr,
int val)
Return an array with the indexes of the given array that have the value given or null if nothing is found |
static int[] |
sortedIndexes(float[] arr)
Return the sorted list of the array indexes ordened by the value they point. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayUtils()
| Method Detail |
|---|
public static final int[] indexesOf(boolean[] arr,
boolean val)
arr - Array to search inval - Value to search
public static final int[] indexesOf(int[] arr,
int val)
arr - Array to search inval - Value to searchpublic static final int[] sortedIndexes(float[] arr)
arr -
public static final int highestValueIndex(float[] anArray)
anArray - Array to search
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||