hep.io.hbook
Class Tuple
java.lang.Object
hep.io.hbook.HbookObject
hep.io.hbook.CompositeHbookObject
hep.io.hbook.Tuple
- Direct Known Subclasses:
- ColumnwiseTuple, RowwiseTuple
public abstract class Tuple
- extends CompositeHbookObject
A base class for all tuples read from an hbook file.
getRows
public int getRows()
- Get the number of rows in the tuple.
- Returns:
- The number of rows
getCurrentRow
public int getCurrentRow()
- Get the current row.
- Returns:
- The current row, in the range 1 to nRows
setCurrentRow
public void setCurrentRow(int row)
- Set the current row.
- Parameters:
row
- The new current row (1-nRows)
Copyright © 2000-2007 FreeHEP. All Rights Reserved.