hep.aida.ref.tuple
Class AbstractTuple.AbstractTupleColumnFactory.LongTupleColumn

java.lang.Object
  extended by hep.aida.ref.tuple.AbstractTuple.AbstractTupleColumnFactory.BaseTupleColumn
      extended by hep.aida.ref.tuple.AbstractTuple.AbstractTupleColumnFactory.LongTupleColumn
All Implemented Interfaces:
IBaseTupleColumn, ITupleColumn, ITupleColumn.L, FTupleColumn
Enclosing class:
AbstractTuple.AbstractTupleColumnFactory

public static class AbstractTuple.AbstractTupleColumnFactory.LongTupleColumn
extends AbstractTuple.AbstractTupleColumnFactory.BaseTupleColumn
implements ITupleColumn.L


Nested Class Summary
 
Nested classes/interfaces inherited from interface hep.aida.ITupleColumn
ITupleColumn.B, ITupleColumn.C, ITupleColumn.D, ITupleColumn.F, ITupleColumn.I, ITupleColumn.ITuple, ITupleColumn.L, ITupleColumn.Object, ITupleColumn.S, ITupleColumn.String, ITupleColumn.Z
 
Method Summary
 long defaultValue()
          Get the column default value.
 void fill(long value)
          Fill the column.
 long fillableObject()
          Used when filling.
 long value()
          Get the object stored in the column at the current cursor's position.
 
Methods inherited from class hep.aida.ref.tuple.AbstractTuple.AbstractTupleColumnFactory.BaseTupleColumn
defaultValue, hasDefaultValue, maximum, maxValue, mean, meanValue, minimum, minValue, name, rms, rmsValue, type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.aida.IBaseTupleColumn
maximum, mean, minimum, name, rms, type
 

Method Detail

fill

public void fill(long value)
          throws IllegalArgumentException
Description copied from interface: ITupleColumn.L
Fill the column. If the value is a number with value NaN, the entry will be recorded but it will not contribue to the column's statistics.

Specified by:
fill in interface ITupleColumn.L
Parameters:
value - The base type or object to fill with.
Throws:
IllegalArgumentException

value

public long value()
Description copied from interface: ITupleColumn.L
Get the object stored in the column at the current cursor's position.

Specified by:
value in interface ITupleColumn.L
Returns:
The object.

defaultValue

public long defaultValue()
Description copied from interface: ITupleColumn.L
Get the column default value.

Specified by:
defaultValue in interface ITupleColumn.L
Returns:
The column's default.

fillableObject

public long fillableObject()
Description copied from interface: ITupleColumn.L
Used when filling. This method returns a prebooked (in general empty) object. This is intended to help the filling of a tuple in case of dealing with complex objects. Reissuing the method after a ITuple::addRow may return the same object but reseted. This method may return zero in case the implementation don't have the necessary material to provide a prebooked object of any kind. In case the column contains tuples (T = ITuple), this methods returns an empty tuple booked according to what had been specified at creation of the main tuple. In case the tuple column is binded to a user variable (done through the bind method), this method returns the pointer passed to the bind method. The user must not delete the returned object.

Specified by:
fillableObject in interface ITupleColumn.L
Returns:
An object.


jHepWork 3.2 © jWork.org