dm.datacube
Class DataCube.DataSet

java.lang.Object
  |
  +--dm.datacube.DataCube.DataSet
Enclosing class:
DataCube

public class DataCube.DataSet
extends java.lang.Object

Internal class for iterator element storage (not static because we want to access parent class fields)


Field Summary
 java.lang.Integer[] _key
          Data Members
 java.util.List _values
           
 
Constructor Summary
DataCube.DataSet(java.lang.Integer[] key)
          Constructor
 
Method Summary
 void addValue(java.lang.Integer val)
          Add an element to value set
 java.lang.String toString()
          Prints contents of object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_key

public java.lang.Integer[] _key
Data Members

_values

public java.util.List _values
Constructor Detail

DataCube.DataSet

public DataCube.DataSet(java.lang.Integer[] key)
Constructor
Parameters:
key - Key for this entry in the DataCube
val - Value for this entry in the DataCube
Method Detail

addValue

public void addValue(java.lang.Integer val)
Add an element to value set
Parameters:
val - The element to add

toString

public java.lang.String toString()
Prints contents of object
Overrides:
toString in class java.lang.Object
Returns:
String representation of object