Previous ION Java User's Guide: ION Java Class and Method Reference Next

getDimensionedFloatArray()

Returns the float array value of the variable. The result contains the same number of dimensions as the variable.

Syntax

public final Object getDimensionedFloatArray

(where Object can be a 1- to 8-dimensional array of Java primitive type 'float')

Return

The method returns the multidimensional float array value of the variable.

Arguments

None.

Exceptions

IONNotAnArrayException

Example

IONVariable myVariable = c_ionCon.getIDLVariable("my3dFloatArr");  
float f3d[][][];  
try {  
f3d = (float[][][])myVariable.getDimensionedFloatArray();  
} catch(IONNotAnArrayException e) {  
   System.err.println("Variable is not an array");  
}  

  IDL Online Help (March 06, 2007)