FreeHEP API
Version current

hep.tuple
Class TupleColumnFolder

java.lang.Object
  extended byhep.tuple.TupleColumn
      extended byhep.tuple.TupleColumnFolder
All Implemented Interfaces:
FillableTupleColumn, FTupleColumn

public class TupleColumnFolder
extends TupleColumn

Author:
turri
Source Code:
TupleColumnFolder.java

Field Summary
 
Fields inherited from class hep.tuple.TupleColumn
arrayList, arraySize, currentArray, currentArrayIndex, defaultValue, maximumSize, nStack
 
Method Summary
 void addRow()
           
protected  void createArray(int size)
          Create a new array of the appropriate type with given length.
protected  void currentArrayUpdated()
          Update the current array in the column.
 void defaultValue(Value value)
          Get the default value stored in the column.
 void fill(FillableTuple tp)
           
 void fill(Value value)
           
protected  boolean hasStatistics()
          Does this column carry any statistic information?
 void reset()
           
 void resetRow()
           
 void resetRows(int numberOfRows)
          Clears the values on the stack.
protected  void setCurrentArray(int index)
          Set the internal current array to the one corresponding to a given value's index.
 void setValue(int index, Value value)
          Set the value of the column.
 void value(int index, Value value)
           
 
Methods inherited from class hep.tuple.TupleColumn
getDefaultValue, hasDefaultValue, maxValue, meanValue, minValue, name, rmsValue, setDefaultValue, type, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createArray

protected void createArray(int size)
Description copied from class: TupleColumn
Create a new array of the appropriate type with given length.

Specified by:
createArray in class TupleColumn
Parameters:
size - The size of the array to be created.

value

public void value(int index,
                  Value value)
Specified by:
value in class TupleColumn

fill

public void fill(Value value)
Overrides:
fill in class TupleColumn

setValue

public void setValue(int index,
                     Value value)
Description copied from interface: FillableTupleColumn
Set the value of the column. This method should only be used internally; not by the user filling the tuple. The fill() and addRow() methods on the FillableTuple should be used instead.

Specified by:
setValue in interface FillableTupleColumn
Specified by:
setValue in class TupleColumn

fill

public void fill(FillableTuple tp)

hasStatistics

protected boolean hasStatistics()
Description copied from class: TupleColumn
Does this column carry any statistic information?

Specified by:
hasStatistics in class TupleColumn
Returns:
true if the statistics is updated.

setCurrentArray

protected void setCurrentArray(int index)
Description copied from class: TupleColumn
Set the internal current array to the one corresponding to a given value's index.

Overrides:
setCurrentArray in class TupleColumn
Parameters:
index - The value's index.

addRow

public void addRow()
Overrides:
addRow in class TupleColumn

resetRow

public void resetRow()
Overrides:
resetRow in class TupleColumn

resetRows

public void resetRows(int numberOfRows)
Description copied from class: TupleColumn
Clears the values on the stack.

Overrides:
resetRows in class TupleColumn

reset

public void reset()
Overrides:
reset in class TupleColumn

defaultValue

public void defaultValue(Value value)
Description copied from interface: FTupleColumn
Get the default value stored in the column.

Parameters:
value - The Value object in which che maximum value is passed.

currentArrayUpdated

protected void currentArrayUpdated()
Description copied from class: TupleColumn
Update the current array in the column. This method is invoked within the setCurrentArray( int ) method when the current array is actually changed. The FTupleColumn on which the method is invoked should internally update the current array.

Specified by:
currentArrayUpdated in class TupleColumn

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.