|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jv.vecmath.PuData
Static memory methods on number arrays.
| Constructor Summary | |
PuData()
|
|
| Method Summary | |
static double[] |
copy(double[] data,
int size)
Copy an array into a new array. |
static float[] |
copy(float[] data,
int size)
Copy an array into a new array. |
static int[] |
copy(int[] data,
int size)
Copy an array into a new array. |
static boolean[] |
realloc(boolean[] data,
int size)
Create a new array with given size, if size is different than given array. |
static boolean[] |
realloc(boolean[] data,
int size,
boolean initial)
Create a new array with given size, if size is different than given array. |
static java.lang.Object[] |
realloc(java.lang.Class cl,
java.lang.Object[] data,
int size)
Create a new array with given size, if size is different than given array. |
static double[] |
realloc(double[] data,
int size)
Create a new array with given size, if size is different than given array. |
static double[] |
realloc(double[] data,
int size,
double initial)
Create a new array with given size, if size is different than given array. |
static float[] |
realloc(float[] data,
int size)
Create a new array with given size, if size is different than given array. |
static float[] |
realloc(float[] data,
int size,
float initial)
Create a new array with given size, if size is different than given array. |
static int[] |
realloc(int[] data,
int size)
Create a new array with given size, if size is different than given array. |
static int[] |
realloc(int[] data,
int size,
int initial)
Create a new array with given size, if size is different than given array. |
static java.lang.String[] |
realloc(java.lang.String[] data,
int size)
Create a new array with given size, if size is different than given array. |
static java.lang.String[] |
realloc(java.lang.String[] data,
int size,
java.lang.String initial)
Create a new array with given size, if size is different than given array. |
static java.lang.String |
toString(double[] data)
Create single line string of double array where components are separated by blanks. |
static java.lang.String |
toString(float[] data)
Create single line string of float array where components are separated by blanks. |
static java.lang.String |
toString(int[] data)
Create single line string of integer array where components are separated by blanks. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PuData()
| Method Detail |
public static java.lang.String toString(double[] data)
public static java.lang.String toString(float[] data)
public static java.lang.String toString(int[] data)
public static double[] copy(double[] data,
int size)
data - source arraysize - size of new array, must be less or equal data.length
public static float[] copy(float[] data,
int size)
data - source arraysize - size of new array, must be less or equal data.length
public static int[] copy(int[] data,
int size)
data - source arraysize - size of new array, must be less or equal data.length
public static java.lang.Object[] realloc(java.lang.Class cl,
java.lang.Object[] data,
int size)
The effect is that of the equivalent array creation expression:
new cl[size] and copying of existing data into this new array.
data - source array, may be null.size - size of new array
public static double[] realloc(double[] data,
int size)
data - source array, may be null.size - size of new array
public static float[] realloc(float[] data,
int size)
data - source array, may be null.size - size of new array
public static int[] realloc(int[] data,
int size)
data - source array, may be null.size - size of new array
public static boolean[] realloc(boolean[] data,
int size)
data - source array, may be null.size - size of new array
public static java.lang.String[] realloc(java.lang.String[] data,
int size)
data - source array, may be null.size - size of new array
public static double[] realloc(double[] data,
int size,
double initial)
data - source array, may be null.size - size of new arrayinitial - initial value of new components.
public static float[] realloc(float[] data,
int size,
float initial)
data - source array, may be null.size - size of new arrayinitial - initial value of new components.
public static int[] realloc(int[] data,
int size,
int initial)
data - source array, may be null.size - size of new arrayinitial - initial value of new components.
public static boolean[] realloc(boolean[] data,
int size,
boolean initial)
data - source array, may be null.size - size of new arrayinitial - initial value of new components.
public static java.lang.String[] realloc(java.lang.String[] data,
int size,
java.lang.String initial)
data - source array, may be null.size - size of new arrayinitial - initial value of new components.
|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||