|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.aida.ref.tuple.TupleColumn
Nested Class Summary | |
static class |
TupleColumn.TupleColumnBoolean
|
static class |
TupleColumn.TupleColumnByte
|
static class |
TupleColumn.TupleColumnChar
|
static class |
TupleColumn.TupleColumnDouble
|
static class |
TupleColumn.TupleColumnFloat
|
static class |
TupleColumn.TupleColumnFolder
|
static class |
TupleColumn.TupleColumnInt
|
static class |
TupleColumn.TupleColumnLong
|
static class |
TupleColumn.TupleColumnObject
|
static class |
TupleColumn.TupleColumnShort
|
static class |
TupleColumn.TupleColumnString
|
Field Summary | |
protected ArrayList |
arrayList
|
protected int |
arraySize
|
protected Object |
currentArray
|
protected int |
currentArrayIndex
|
protected Value |
defaultValue
Each 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 |
defaultValue(Value value)
|
void |
fill(Value value)
|
protected Value |
getDefaultValue()
Get the column's default value. |
boolean |
hasDefaultValue()
|
protected abstract boolean |
hasStatistics()
Does this column carry any statistic information? |
double |
maximum()
|
void |
maxValue(Value value)
|
double |
mean()
|
void |
meanValue(Value value)
|
double |
minimum()
|
void |
minValue(Value value)
|
String |
name()
|
void |
reset()
|
void |
resetRow()
|
void |
resetRows(int numberOfRows)
Clears the values on the stack. |
double |
rms()
|
void |
rmsValue(Value value)
|
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)
|
Class |
type()
|
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 |
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 double minimum()
minimum
in interface hep.aida.IBaseTupleColumn
public double maximum()
maximum
in interface hep.aida.IBaseTupleColumn
public double mean()
mean
in interface hep.aida.IBaseTupleColumn
public double rms()
rms
in interface hep.aida.IBaseTupleColumn
public boolean hasDefaultValue()
hasDefaultValue
in interface FTupleColumn
public String name()
name
in interface hep.aida.IBaseTupleColumn
public Class type()
type
in interface hep.aida.IBaseTupleColumn
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)
public void addRow()
public void resetRow()
public void reset()
public void minValue(Value value)
minValue
in interface FTupleColumn
public void maxValue(Value value)
maxValue
in interface FTupleColumn
public void meanValue(Value value)
meanValue
in interface FTupleColumn
public void rmsValue(Value value)
rmsValue
in interface FTupleColumn
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)
public void defaultValue(Value value)
defaultValue
in interface FTupleColumn
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |