FreeHEP API
Version current

hep.io.hbook
Interface PawIntegerArray

All Superinterfaces:
PawArray

public interface PawIntegerArray
extends PawArray

An array whose elements are of type int

Source Code:
PawIntegerArray.java

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 hep.io.hbook.PawArray
getDimension, getNDimensions
 

Method Detail

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.


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

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.