|
Servertec Jenie 1.0.1 09/04/2005 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectstec.jenie.NativeObject
stec.jenie.NativeArray
stec.jenie.DOUBLEArray
public class DOUBLEArray
Represents a native array of 64-bit floating point values.
Arrays can only be passed or returned by functions and callbacks as a pointer to the array.
| Constructor Summary | |
|---|---|
DOUBLEArray(DOUBLEArray array)
Constructs a new n-dimensional array of 64-bit floating point values with the same number of dimensions and size of each dimension as the specified 64-bit floating point native array. |
|
DOUBLEArray(int size)
Constructs a new one dimensional array of 64-bit floating point values of the specified number of 64-bit floating point values. |
|
DOUBLEArray(int[] dimensions)
Constructs a new n-dimensional array of 64-bit floating point values of the specified number of 64-bit floating point values. |
|
DOUBLEArray(int size1,
int size2)
Constructs a new two dimensional array of 64-bit floating point values of the specified number of 64-bit floating point values. |
|
DOUBLEArray(int size1,
int size2,
int size3)
Constructs a new three dimensional array of 64-bit floating point values of the specified number of 64-bit floating point values. |
|
DOUBLEArray(Pointer pointer,
DOUBLEArray array)
Constructs a new n-dimensional array of 64-bit floating point values from the specified pointer to a n-dimensional array of 64-bit floating point values with the same number of dimensions and size of each dimension as the specified signed 64-bit floating point native array. |
|
DOUBLEArray(Pointer pointer,
int size)
Constructs a new one dimensional array of 64-bit floating point values from the specified pointer to a one dimensional array of 64-bit floating point values of the specified number of 64-bit floating point values. |
|
DOUBLEArray(Pointer pointer,
int[] dimensions)
Constructs a new n-dimensional array of 64-bit floating point values from the specified pointer to a n-dimensional array of 64-bit floating point values of the specified number of 64-bit floating point values. |
|
DOUBLEArray(Pointer pointer,
int size1,
int size2)
Constructs a new two dimensional array of 64-bit floating point values from the specified pointer to a two dimensional array of 64-bit floating point values of the specified number of 64-bit floating point values. |
|
DOUBLEArray(Pointer pointer,
int size1,
int size2,
int size3)
Constructs a new three dimensional array of 64-bit floating point values from the specified pointer to a three dimensional array of 64-bit floating point values of the specified number of 64-bit floating point values. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a clone of this array of 64-bit floating point values. |
boolean |
equals(java.lang.Object object)
Returns whether this array of 64-bit floating point values equals the specified object. |
double |
getValueAt(int index)
Returns the value at the specified index. |
double |
getValueAt(int[] indexes)
Returns the value at the specified index. |
double |
getValueAt(int index1,
int index2)
Returns the value at the specified index. |
double |
getValueAt(int index1,
int index2,
int index3)
Returns the value at the specified index. |
void |
setValueAt(int[] indexes,
double value)
Sets the value at the specified index. |
void |
setValueAt(int[] indexes,
DOUBLE value)
Sets the value at the specified index. |
void |
setValueAt(int index,
double value)
Sets the value at the specified index. |
void |
setValueAt(int index,
DOUBLE value)
Sets the value at the specified index. |
void |
setValueAt(int index1,
int index2,
double value)
Sets the value at the specified index. |
void |
setValueAt(int index1,
int index2,
DOUBLE value)
Sets the value at the specified index. |
void |
setValueAt(int index1,
int index2,
int index3,
double value)
Sets the value at the specified index. |
void |
setValueAt(int index1,
int index2,
int index3,
DOUBLE value)
Sets the value at the specified index. |
| Methods inherited from class stec.jenie.NativeArray |
|---|
getDimensions, getElementSize, getOffset, getOffset, getOffset, getOffset, i2a, i2a, i2a |
| Methods inherited from class stec.jenie.NativeObject |
|---|
getAlignment, getNativeAddress, getNativeBuffer, getNativeBufferHandle, hashCode, setNativeBuffer, setNativeBuffer, setNativeBuffer, size |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DOUBLEArray(int size)
throws java.lang.OutOfMemoryError,
java.lang.IllegalArgumentException
size - the number of 64-bit floating point values in the array.
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public DOUBLEArray(int size1,
int size2)
throws java.lang.OutOfMemoryError,
java.lang.IllegalArgumentException
size1 - the size of the first dimension.size2 - the size of the second dimension.
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public DOUBLEArray(int size1,
int size2,
int size3)
throws java.lang.OutOfMemoryError,
java.lang.IllegalArgumentException
size1 - the size of the first dimension.size2 - the size of the second dimension.size3 - the size of the third dimension.
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public DOUBLEArray(int[] dimensions)
throws java.lang.OutOfMemoryError,
java.lang.IllegalArgumentException
dimensions - an array of integers representing the number of dimensions and the size of each dimension.
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public DOUBLEArray(DOUBLEArray array)
throws java.lang.OutOfMemoryError,
java.lang.IllegalArgumentException
array - the n-dimensional array of 64-bit floating point values to use.
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public DOUBLEArray(Pointer pointer,
int size)
throws java.lang.IllegalArgumentException
pointer - the pointer to the one dimensional array of 64-bit floating point values.size - the number of 64-bit floating point values in the array.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public DOUBLEArray(Pointer pointer,
int size1,
int size2)
throws java.lang.IllegalArgumentException
pointer - the pointer to the two dimensional array of 64-bit floating point values.size1 - the size of the first dimension.size2 - the size of the second dimension.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public DOUBLEArray(Pointer pointer,
int size1,
int size2,
int size3)
throws java.lang.IllegalArgumentException
pointer - the pointer to the three dimensional array of 64-bit floating point values.size1 - the size of the first dimension.size2 - the size of the second dimension.size3 - the size of the third dimension.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public DOUBLEArray(Pointer pointer,
int[] dimensions)
throws java.lang.IllegalArgumentException
pointer - the pointer to the n-dimensional array of 64-bit floating point values.dimensions - an array of integers representing the number of dimensions and the size of each dimension.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public DOUBLEArray(Pointer pointer,
DOUBLEArray array)
throws java.lang.IllegalArgumentException
pointer - the pointer to the n-dimensional array of 64-bit floating point values.array - the n-dimensional array of 64-bit floating point values to use.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.| Method Detail |
|---|
public double getValueAt(int index)
throws java.lang.ArrayIndexOutOfBoundsException
For use with one dimensional array of 64-bit floating point values.
index - the index of the value to return.
java.lang.ArrayIndexOutOfBoundsException - if the specified index is out of bounds.
public double getValueAt(int index1,
int index2)
throws java.lang.ArrayIndexOutOfBoundsException
For use with two dimensional array of 64-bit floating point values.
index1 - the index into the first dimension.index2 - the index into the second dimension.
java.lang.ArrayIndexOutOfBoundsException - if the specified index is out of bounds.
public double getValueAt(int index1,
int index2,
int index3)
throws java.lang.ArrayIndexOutOfBoundsException
For use with three dimensional array of 64-bit floating point values.
index1 - the index into the first dimension.index2 - the index into the second dimension.index3 - the index into the third dimension.
java.lang.ArrayIndexOutOfBoundsException - if the specified index is out of bounds.
public double getValueAt(int[] indexes)
throws java.lang.ArrayIndexOutOfBoundsException
For use with n-dimensional array of 64-bit floating point values.
indexes - an array of integers representing the number of indexes and the index into each of the dimensions.
java.lang.ArrayIndexOutOfBoundsException - if the specified index is out of bounds.
public void setValueAt(int index,
double value)
throws java.lang.ArrayIndexOutOfBoundsException
For use with one dimensional array of 64-bit floating point values.
index - the index of the value to change.value - the value to use.
java.lang.ArrayIndexOutOfBoundsException - if the specified index is out of bounds.
public void setValueAt(int index1,
int index2,
double value)
throws java.lang.ArrayIndexOutOfBoundsException
For use with two dimensional array of 64-bit floating point values.
index1 - the index into the first dimension.index2 - the index into the second dimension.value - the value to use.
java.lang.ArrayIndexOutOfBoundsException - if the specified index is out of bounds.
public void setValueAt(int index1,
int index2,
int index3,
double value)
throws java.lang.ArrayIndexOutOfBoundsException
For use with three dimensional array of 64-bit floating point values.
index1 - the index into the first dimension.index2 - the index into the second dimension.index3 - the index into the third dimension.value - the value to use.
java.lang.ArrayIndexOutOfBoundsException - if the specified index is out of bounds.
public void setValueAt(int[] indexes,
double value)
throws java.lang.ArrayIndexOutOfBoundsException
For use with n-dimensional array of 64-bit floating point values.
indexes - an array of integers representing the number of indexes and the index into each of the dimensions.value - the value to use.
java.lang.ArrayIndexOutOfBoundsException - if the specified index is out of bounds.
public void setValueAt(int index,
DOUBLE value)
throws java.lang.ArrayIndexOutOfBoundsException
For use with one dimensional array of 64-bit floating point values.
index - the index of the value to change.value - the value to use.
java.lang.ArrayIndexOutOfBoundsException - if the specified index is out of bounds.
public void setValueAt(int index1,
int index2,
DOUBLE value)
throws java.lang.ArrayIndexOutOfBoundsException
For use with two dimensional array of 64-bit floating point values.
index1 - the index into the first dimension.index2 - the index into the second dimension.value - the value to use.
java.lang.ArrayIndexOutOfBoundsException - if the specified index is out of bounds.
public void setValueAt(int index1,
int index2,
int index3,
DOUBLE value)
throws java.lang.ArrayIndexOutOfBoundsException
For use with three dimensional array of 64-bit floating point values.
index1 - the index into the first dimension.index2 - the index into the second dimension.index3 - the index into the third dimension.value - the value to use.
java.lang.ArrayIndexOutOfBoundsException - if the specified index is out of bounds.
public void setValueAt(int[] indexes,
DOUBLE value)
throws java.lang.ArrayIndexOutOfBoundsException
For use with n-dimensional array of 64-bit floating point values.
indexes - an array of integers representing the number of indexes and the index into each of the dimensions.value - the value to use.
java.lang.ArrayIndexOutOfBoundsException - if the specified index is out of bounds.public boolean equals(java.lang.Object object)
equals in class NativeArrayobject - the object to compare against.
public java.lang.Object clone()
throws java.lang.OutOfMemoryError
clone in class NativeObjectjava.lang.OutOfMemoryError - if there is not enough free memory.
|
Servertec Jenie 1.0.1 09/04/2005 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2004-2005 Servertec. All rights reserved.