|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthep.aida.ref.event.AIDAObservable
hep.aida.ref.ManagedObject
hep.aida.ref.tuple.AbstractTuple
hep.aida.ref.tuple.Tuple
public class Tuple
| Nested Class Summary | |
|---|---|
static class |
Tuple.TupleColumnFactory
|
| Nested classes/interfaces inherited from class hep.aida.ref.tuple.AbstractTuple |
|---|
AbstractTuple.AbstractTupleColumnFactory |
| Field Summary |
|---|
| 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()
Add the current row to the ITuple. |
IBaseTupleColumn |
column(int column)
Return a IBaseTupleColumn knowing its index. |
IBaseTupleColumn |
column(String name)
Return a IBaseTupleColumn knowing its name. |
String |
columnDefaultString(int column)
|
double |
columnMax(int column)
Get the maximum value of a given column (if it can be converted to a double). |
double |
columnMean(int column)
Get the mean value of a given column (if it can be converted to a double). |
double |
columnMin(int column)
Get the minimum value of a given column (if it can be converted to a double). |
String |
columnName(int column)
Get the name of a column from its index. |
double |
columnRms(int column)
Get the RMS of a given column (if it can be converted to a double). |
int |
columns()
Get the number of columns in the ITuple |
Class |
columnType(int column)
Get the type of a give column. |
void |
columnValue(int column,
FTupleCursor cursor,
org.freehep.util.Value value)
|
void |
columnValue(int column,
org.freehep.util.Value value)
|
void |
fill(int column,
org.freehep.util.Value value)
|
int |
findColumn(String name)
Get the index within the ITuple of a given column. |
ITuple |
findTuple(int index)
Get Folder at the current cursor position. |
boolean |
isInMemory()
|
boolean |
providesColumnDefaultValues()
|
void |
reset()
Reset the ITuple. |
void |
resetRow()
Clear the current(not yet added) row. |
int |
rows()
Get the number of rows currently filled in the ITuple. |
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, 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, typeForClass |
| Methods inherited from class hep.aida.ref.event.AIDAObservable |
|---|
addListener, isConnected, removeAllListeners, removeListener, setConnected, setValid, setValidForAll |
| Methods inherited from class java.lang.Object |
|---|
equals, 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 |
| Constructor Detail |
|---|
public Tuple(String name,
String title,
String[] columnName,
Class[] columnType,
String options)
public Tuple(String name,
String title,
String columnsString,
String options)
| Method Detail |
|---|
public String columnDefaultString(int column)
columnDefaultString in class AbstractTuplepublic boolean providesColumnDefaultValues()
providesColumnDefaultValues in class AbstractTuplepublic ITuple findTuple(int index)
findTuple in interface ITuplefindTuple in class AbstractTupleindex - The column's index of the Folder.
public void fill(int column,
org.freehep.util.Value value)
fill in class AbstractTuple
public void columnValue(int column,
FTupleCursor cursor,
org.freehep.util.Value value)
columnValue in interface FTuplecolumnValue in class AbstractTuple
public void columnValue(int column,
org.freehep.util.Value value)
columnValue in class AbstractTuplepublic boolean isInMemory()
isInMemory in interface FTupleisInMemory in class AbstractTuplepublic boolean supportsMultipleCursors()
supportsMultipleCursors in interface FTuplesupportsMultipleCursors in class AbstractTuplepublic boolean supportsRandomAccess()
supportsRandomAccess in interface FTuplesupportsRandomAccess in class AbstractTuplepublic void addRow()
ITuple
addRow in interface ITupleaddRow in class AbstractTuplepublic void resetRow()
ITuple
resetRow in interface ITupleresetRow in class AbstractTuplepublic void reset()
ITuple
reset in interface ITuplereset in class AbstractTuplepublic int rows()
ITuple
rows in interface ITuplerows in interface FTuplerows in class AbstractTuplepublic int findColumn(String name)
ITuple
findColumn in interface ITuplefindColumn in class AbstractTuplename - The colum's name.
public String columnName(int column)
ITuple
columnName in interface ITuplecolumnName in interface FTuplecolumnName in class AbstractTuplecolumn - The column's index.
public Class columnType(int column)
ITuple
columnType in interface ITuplecolumnType in interface FTuplecolumnType in class AbstractTuplecolumn - The column's index.
public double columnMin(int column)
ITuple
columnMin in interface ITuplecolumnMin in class AbstractTuplecolumn - The column's index.
public double columnMax(int column)
ITuple
columnMax in interface ITuplecolumnMax in class AbstractTuplecolumn - The column's index.
public double columnMean(int column)
ITuple
columnMean in interface ITuplecolumnMean in class AbstractTuplecolumn - The column's index.
public double columnRms(int column)
ITuple
columnRms in interface ITuplecolumnRms in class AbstractTuplecolumn - The column's index.
public int columns()
ITuple
columns in interface ITuplecolumns in interface FTuplecolumns in class AbstractTuplepublic IBaseTupleColumn column(int column)
ITuple
column in interface ITuplecolumn in class AbstractTuplecolumn - The column's index within the ITuple.
public IBaseTupleColumn column(String name)
ITuple
column in interface ITuplecolumn in class AbstractTuplename - The colum's name.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||