|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecthydroScalingAPI.tools.ArrayTools
public abstract class ArrayTools
An abstract class with a set of tools to manipulate arrays
| Constructor Summary | |
|---|---|
ArrayTools()
|
|
| Method Summary | |
|---|---|
static java.lang.Object[] |
concatentate(java.lang.Object[] StArr1,
java.lang.Object[] StArr2)
Concatenates two Object Arrays |
static int[] |
convertFloatArrayToIntArray(float[] theFloatArray)
Casts float values to int |
static float[] |
convertTwoToOne(float[][] twoArray)
Changes the dimensions of a two dimensional array into a one dimensional array |
static float[] |
eliminate(float[] theFloatArray,
int pos)
Removes a given position from the array |
static void |
printArray(int[] theArray)
Prints the contents of an integer array |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayTools()
| Method Detail |
|---|
public static float[] eliminate(float[] theFloatArray,
int pos)
theFloatArray - The original array with float faluespos - The position to remove
public static java.lang.Object[] concatentate(java.lang.Object[] StArr1,
java.lang.Object[] StArr2)
StArr1 - The first Object arrayStArr2 - The second Object array
public static int[] convertFloatArrayToIntArray(float[] theFloatArray)
theFloatArray - The original array with float falues
public static void printArray(int[] theArray)
theArray - The int array to printpublic static float[] convertTwoToOne(float[][] twoArray)
twoArray - The original two dimensional array
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.