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

getDComplexArray()

The getDComplexArray() method returns the value of the double complex array variable. If the value is not of type double complex, a "java.lang.ClassCastException" exception will be thrown. To avoid this exception, check the type of the data and call the correct method for that type.

Syntax

public final IONDComplex[] getDComplexArray()

Return Value

The method returns the value of the double complex array variable.

Arguments

None.

Exceptions

IONNotAnArrayException

Example

try {  
IONDComplex dc[] = myVariable.getDComplexArray();  
}catch(IONNotAnArrayException e){  
   System.err.println("Variable is not an array");  
}  

  IDL Online Help (March 06, 2007)