next up previous
Next: Program execution control Up: Global variables Previous: Data descriptor

Inquiry fields and functions

The length of an array reference in Java can be get from its length field. Similarly, in HPJava, information like data owner group and distributed dimensions can be accessed from the following fields,

  Group group;   //data owner group
  Range range[]; //dimension array

And further inquiry functions may be used to get values such as dimension extent and distribution format.

For an array with collapsed dimensions, collapsed ranges will be created for the corresponding dimensions.

Bryan Carpenter 2002-07-12