| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthep.tuple.TupleColumn
| Field Summary | |
| protected  ArrayList | arrayList | 
| protected  int | arraySize | 
| protected  Object | currentArray | 
| protected  int | currentArrayIndex | 
| protected  Value | defaultValueEach TupleColumn should be created with a given size, length = arraySize. | 
| protected  int | maximumSize | 
| protected  int | nStack | 
| Method Summary | |
|  void | addRow() | 
| protected abstract  void | createArray(int size)Create a new array of the appropriate type with given length. | 
| protected abstract  void | currentArrayUpdated()Update the current array in the column. | 
|  void | fill(Value value) | 
| protected  Value | getDefaultValue()Get the column's default value. | 
|  boolean | hasDefaultValue()Check if the column has a default value. | 
| protected abstract  boolean | hasStatistics()Does this column carry any statistic information? | 
|  void | maxValue(Value value)Get the maximum value stored in the column. | 
|  void | meanValue(Value value)Get the mean value stored in the column. | 
|  void | minValue(Value value)Get the minimum value stored in the column. | 
|  String | name()The name of che column. | 
|  void | reset() | 
|  void | resetRow() | 
|  void | resetRows(int numberOfRows)Clears the values on the stack. | 
|  void | rmsValue(Value value)Get the rms value stored in the column. | 
| protected  void | setCurrentArray(int index)Set the internal current array to the one corresponding to a given value's index. | 
| protected  void | setDefaultValue(Value value)Set the column's default value. | 
| abstract  void | setValue(int index,
         Value value)Set the value of the column. | 
|  Class | type()The type of the column. | 
|  void | value(FTupleCursor cursor,
      Value value) | 
| abstract  void | value(int index,
      Value value) | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface hep.tuple.interfaces.FTupleColumn | 
| defaultValue | 
| Field Detail | 
protected Value defaultValue
protected ArrayList arrayList
protected int arraySize
protected int maximumSize
protected int nStack
protected Object currentArray
protected int currentArrayIndex
| Method Detail | 
public boolean hasDefaultValue()
FTupleColumn
hasDefaultValue in interface FTupleColumnpublic String name()
FTupleColumn
name in interface FTupleColumnpublic Class type()
FTupleColumn
type in interface FTupleColumn
public void value(FTupleCursor cursor,
                  Value value)
public abstract void value(int index,
                           Value value)
public void fill(Value value)
public abstract void setValue(int index,
                              Value value)
FillableTupleColumn
setValue in interface FillableTupleColumnindex - The position in the FTupleColumn.value - The Value carrying the value to be set.public void addRow()
public void resetRow()
public void reset()
public void minValue(Value value)
FTupleColumn
minValue in interface FTupleColumnvalue - The Value object in which the minimum value is passed.public void maxValue(Value value)
FTupleColumn
maxValue in interface FTupleColumnvalue - The Value object in which the maximum value is passed.public void meanValue(Value value)
FTupleColumn
meanValue in interface FTupleColumnvalue - The Value object in which the mean value is passed.public void rmsValue(Value value)
FTupleColumn
rmsValue in interface FTupleColumnvalue - The Value object in which the rms value is passed.protected abstract void createArray(int size)
size - The size of the array to be created.protected Value getDefaultValue()
protected void setDefaultValue(Value value)
value - The default value.protected abstract boolean hasStatistics()
true if the statistics is updated.protected void setCurrentArray(int index)
index - The value's index.protected abstract void currentArrayUpdated()
public void resetRows(int numberOfRows)
| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||