FreeHEP API
Version current

hep.tuple
Class TupleColumnLong

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

public class TupleColumnLong
extends TupleColumn

Author:
turri
Source Code:
TupleColumnLong.java

Field Summary
 
Fields inherited from class hep.tuple.TupleColumn
arrayList, arraySize, currentArray, currentArrayIndex, defaultValue, maximumSize, nStack
 
Method Summary
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.
protected  boolean hasStatistics()
          Does this column carry any statistic information?
 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
addRow, fill, getDefaultValue, hasDefaultValue, maxValue, meanValue, minValue, name, reset, resetRow, resetRows, rmsValue, setCurrentArray, 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

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

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.

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.