FreeHEP API
Version current

hep.io.hbook
Interface PawBooleanArray

All Superinterfaces:
PawArray

public interface PawBooleanArray
extends PawArray

An array whose elements are of type boolean

Source Code:
PawBooleanArray.java

Method Summary
 boolean[] getAsJavaArray()
          Convert the PAW array to a Java array.
 boolean getBoolean(int i)
          Convenience method for accessing elements of 1 dimension arrays Note for compatibility with Fortran/PAW all arrays are indexed from 1
 boolean getBoolean(int[] i)
          Access an element of an array of arbitrary dimension
 boolean getBoolean(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
 boolean getBoolean(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 boolean[] 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.


getBoolean

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


getBoolean

public boolean getBoolean(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


getBoolean

public boolean getBoolean(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


getBoolean

public boolean getBoolean(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.