jasext.paw
Interface PawIntegerArray

All Superinterfaces:
PawArray

public interface PawIntegerArray
extends PawArray


Method Summary
 int[] getAsJavaArray()
          Convert the PAW array to a Java array.
 int getInt(int i)
          Convenience method for accessing elements of 1 dimension arrays Note for compatibility with Fortran/PAW all arrays are indexed from 1
 int getInt(int[] i)
          Access an element of an array of arbitrary dimension
 int getInt(int i, int j)
          Convenience method for accessing elements of 2 dimension arrays Note for compatibility with Fortran/PAW all arrays are indexed from 1
 int getInt(int i, int j, int k)
          Convenience method for accessing elements of 3 dimension arrays Note for compatibility with Fortran/PAW all arrays are indexed from 1
 
Methods inherited from interface jasext.paw.PawArray
getDimension, getNDimensions
 

Method Detail

getInt

public int getInt(int i)
Convenience method for accessing elements of 1 dimension arrays Note for compatibility with Fortran/PAW all arrays are indexed from 1

getInt

public int getInt(int i,
                  int j)
Convenience method for accessing elements of 2 dimension arrays Note for compatibility with Fortran/PAW all arrays are indexed from 1

getInt

public int getInt(int i,
                  int j,
                  int k)
Convenience method for accessing elements of 3 dimension arrays Note for compatibility with Fortran/PAW all arrays are indexed from 1

getInt

public int getInt(int[] i)
Access an element of an array of arbitrary dimension
Parameters:
i - The index for the element to access Note for compatibility with Fortran/PAW all arrays are indexed from 1

getAsJavaArray

public int[] getAsJavaArray()
Convert the PAW array to a Java array. All of the element of the array are returned as a single 1-dimensional Java array.