FreeHEP API
Version current

hep.aida.ref.tuple
Class Tuple

java.lang.Object
  extended byhep.aida.ref.event.AIDAObservable
      extended byhep.aida.ref.ManagedObject
          extended byhep.aida.ref.tuple.AbstractTuple
              extended byhep.aida.ref.tuple.Tuple
All Implemented Interfaces:
Connectable, FTuple, hep.aida.dev.IDevManagedObject, hep.aida.IManagedObject, hep.aida.ITuple

public class Tuple
extends AbstractTuple

Author:
The FreeHEP team @ SLAC.
Source Code:
Tuple.java

Nested Class Summary
static class Tuple.TupleColumnFactory
           
 
Nested classes inherited from class hep.aida.ref.tuple.AbstractTuple
AbstractTuple.AbstractTupleColumnFactory
 
Field Summary
protected static int COLUMN_ROWS
           
 
Fields inherited from class hep.aida.ref.ManagedObject
fillable
 
Fields inherited from class hep.aida.ref.event.AIDAObservable
connectionDidChange, isConnected, isValid
 
Fields inherited from interface hep.aida.ref.tuple.FTuple
ROWS_UNKNOWN
 
Constructor Summary
Tuple(String name, String title, String[] columnName, Class[] columnType, String options)
           
Tuple(String name, String title, String columnsString, String options)
           
 
Method Summary
 void addRow()
           
 hep.aida.IBaseTupleColumn column(int column)
           
 hep.aida.IBaseTupleColumn column(String name)
           
 String columnDefaultString(int column)
           
 double columnMax(int column)
           
 double columnMean(int column)
           
 double columnMin(int column)
           
 String columnName(int column)
           
 double columnRms(int column)
           
 int columns()
           
 Class columnType(int column)
           
 void columnValue(int column, FTupleCursor cursor, Value value)
           
 void columnValue(int column, Value value)
           
 void fill(int column, Value value)
           
 int findColumn(String name)
           
 hep.aida.ITuple findTuple(int index)
          Get Folder at the current cursor position.
 boolean isInMemory()
           
 boolean providesColumnDefaultValues()
           
 void reset()
           
 void resetRow()
           
 int rows()
           
 boolean supportsMultipleCursors()
           
 boolean supportsRandomAccess()
           
 
Methods inherited from class hep.aida.ref.tuple.AbstractTuple
annotation, columnByIndex, columnByName, columnDefaultValue, columnNames, columnTypes, cursor, evaluateMax, evaluateMax, evaluateMin, evaluateMin, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, fill, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getObject, getOptions, getRow, getShort, getString, getTuple, internalCursor, newInternalCursor, next, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, project, setAnnotation, setRow, setTitle, skip, start, title, tuple
 
Methods inherited from class hep.aida.ref.ManagedObject
isFillable, name, setFillable, setName, type
 
Methods inherited from class hep.aida.ref.event.AIDAObservable
addListener, createEvent, fireStateChanged, fireStateChanged, fireStateChanged, isConnected, removeAllListeners, removeListener, setConnected, setIsValidAfterNotify, setValid, setValidForAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.aida.ref.tuple.FTuple
name
 
Methods inherited from interface hep.aida.ref.event.Connectable
isConnected, setConnected
 

Field Detail

COLUMN_ROWS

protected static final int COLUMN_ROWS
See Also:
Constant Field Values
Constructor Detail

Tuple

public Tuple(String name,
             String title,
             String[] columnName,
             Class[] columnType,
             String options)

Tuple

public Tuple(String name,
             String title,
             String columnsString,
             String options)
Method Detail

columnDefaultString

public String columnDefaultString(int column)
Specified by:
columnDefaultString in class AbstractTuple

providesColumnDefaultValues

public boolean providesColumnDefaultValues()
Overrides:
providesColumnDefaultValues in class AbstractTuple

findTuple

public hep.aida.ITuple findTuple(int index)
Get Folder at the current cursor position.

Specified by:
findTuple in interface hep.aida.ITuple
Specified by:
findTuple in class AbstractTuple
Parameters:
index - The column's index of the Folder.
Returns:
The folder.

fill

public void fill(int column,
                 Value value)
Specified by:
fill in class AbstractTuple

columnValue

public void columnValue(int column,
                        FTupleCursor cursor,
                        Value value)
Specified by:
columnValue in interface FTuple
Overrides:
columnValue in class AbstractTuple

columnValue

public void columnValue(int column,
                        Value value)
Specified by:
columnValue in class AbstractTuple

isInMemory

public boolean isInMemory()
Specified by:
isInMemory in interface FTuple
Overrides:
isInMemory in class AbstractTuple

supportsMultipleCursors

public boolean supportsMultipleCursors()
Specified by:
supportsMultipleCursors in interface FTuple
Overrides:
supportsMultipleCursors in class AbstractTuple

supportsRandomAccess

public boolean supportsRandomAccess()
Specified by:
supportsRandomAccess in interface FTuple
Overrides:
supportsRandomAccess in class AbstractTuple

addRow

public void addRow()
Specified by:
addRow in interface hep.aida.ITuple
Specified by:
addRow in class AbstractTuple

resetRow

public void resetRow()
Specified by:
resetRow in interface hep.aida.ITuple
Specified by:
resetRow in class AbstractTuple

reset

public void reset()
Specified by:
reset in interface hep.aida.ITuple
Specified by:
reset in class AbstractTuple

rows

public int rows()
Specified by:
rows in interface hep.aida.ITuple
Specified by:
rows in class AbstractTuple

findColumn

public int findColumn(String name)
Specified by:
findColumn in interface hep.aida.ITuple
Specified by:
findColumn in class AbstractTuple

columnName

public String columnName(int column)
Specified by:
columnName in interface hep.aida.ITuple
Specified by:
columnName in class AbstractTuple

columnType

public Class columnType(int column)
Specified by:
columnType in interface hep.aida.ITuple
Specified by:
columnType in class AbstractTuple

columnMin

public double columnMin(int column)
Specified by:
columnMin in interface hep.aida.ITuple
Specified by:
columnMin in class AbstractTuple

columnMax

public double columnMax(int column)
Specified by:
columnMax in interface hep.aida.ITuple
Specified by:
columnMax in class AbstractTuple

columnMean

public double columnMean(int column)
Specified by:
columnMean in interface hep.aida.ITuple
Specified by:
columnMean in class AbstractTuple

columnRms

public double columnRms(int column)
Specified by:
columnRms in interface hep.aida.ITuple
Specified by:
columnRms in class AbstractTuple

columns

public int columns()
Specified by:
columns in interface hep.aida.ITuple
Specified by:
columns in class AbstractTuple

column

public hep.aida.IBaseTupleColumn column(int column)
Specified by:
column in interface hep.aida.ITuple
Overrides:
column in class AbstractTuple

column

public hep.aida.IBaseTupleColumn column(String name)
Specified by:
column in interface hep.aida.ITuple
Overrides:
column in class AbstractTuple

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.