FreeHEP API
Version current

hep.io.hbook
Interface PawStringArray

All Superinterfaces:
PawArray

public interface PawStringArray
extends PawArray

An array whose elements are of type String

Source Code:
PawStringArray.java

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


getString

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


getString

public String getString(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


getString

public String getString(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


getString

public String getString(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.