|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaitools.numeric.ArrayUtils
public class ArrayUtils
Provides a number of array operations not present in the standard Java Arrays class.
Based on methods originally in the "BandCombine" operator ported from the GeoTools library (http://geotools.org) and written by Martin Desruisseaux.
| Constructor Summary | |
|---|---|
ArrayUtils()
|
|
| Method Summary | |
|---|---|
static double[] |
resize(double[] array,
int length)
Resize the given array, truncating or padding with zeroes as necessary. |
static float[] |
resize(float[] array,
int length)
Resize the given array, truncating or padding with zeroes as necessary. |
static int[] |
resize(int[] array,
int length)
Resize the given array, truncating or padding with zeroes as necessary. |
| 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 double[] resize(double[] array,
int length)
array - the array to resizelength - requested length
public static float[] resize(float[] array,
int length)
array - the array to resizelength - requested length
public static int[] resize(int[] array,
int length)
array - the array to resizelength - requested length
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||