analyzer.tree
Class AverageDataSource

java.lang.Object
  |
  +--analyzer.tree.AverageDataSource

public class AverageDataSource
extends java.lang.Object
implements DataSource


Field Summary
protected  java.lang.Object data
          The packed array data.
protected  int[] dims
          The unpacked dimensions of the stored array.
protected  java.util.List sourceNodeList
           
protected  int type
          The numerical type of the stored array.
 
Constructor Summary
AverageDataSource()
          Constructor.
 
Method Summary
 void addDataNode(DataTreeNode node)
           
 java.lang.Object getData()
          Return the data array as an object.
 int[] getDims()
          Return the unpacked dimensions of the data array.
 int getType()
          Return the numerical type of the data array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected java.lang.Object data
The packed array data.

dims

protected int[] dims
The unpacked dimensions of the stored array.

type

protected int type
The numerical type of the stored array. Either DataSource.DOUBLE or DataSource.INT.

sourceNodeList

protected java.util.List sourceNodeList
Constructor Detail

AverageDataSource

public AverageDataSource()
Constructor.
Method Detail

addDataNode

public void addDataNode(DataTreeNode node)

getData

public java.lang.Object getData()
Return the data array as an object.
Specified by:
getData in interface DataSource

getDims

public int[] getDims()
Return the unpacked dimensions of the data array.
Specified by:
getDims in interface DataSource

getType

public int getType()
Return the numerical type of the data array. Returns either DataSource.DOUBLE or DataSource.INT.
Specified by:
getType in interface DataSource


Email questions and comments to
shumway@uiuc.edu or nzhong@ncsa.uiuc.edu