abstract class DenseSegmentDataset extends Object implements SegmentDataset
DenseSegmentDataset is a means of storing segment values
 which is suitable when most of the combinations of keys have a value
 present.
 The storage requirements are as follows. Table requires 1 word per cell.
| Modifier and Type | Field and Description | 
|---|---|
protected int[] | 
axisMultipliers  | 
| Constructor and Description | 
|---|
DenseSegmentDataset(SegmentAxis[] axes)
Creates a DenseSegmentDataset. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
getBytes()
Returns the number of bytes occupied by this dataset. 
 | 
double | 
getDouble(CellKey pos)
Returns the value at a given coordinate, as a  
double. | 
int | 
getInt(CellKey pos)
Returns the value at a given coordinate, as an  
int. | 
Object | 
getObject(CellKey pos)
Returns the value at a given coordinate, as an  
Object. | 
protected abstract Object | 
getObject(int i)  | 
protected int | 
getOffset(int[] keys)  | 
protected int | 
getOffset(Object[] keys)  | 
protected abstract int | 
getSize()  | 
Iterator<Map.Entry<CellKey,Object>> | 
iterator()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSegmentBody, exists, getType, isNull, populateFrom, populateFromforEach, spliteratorDenseSegmentDataset(SegmentAxis[] axes)
axes - Segment axes, containing actual column valuespublic final double getBytes()
SegmentDatasetgetBytes in interface SegmentDatasetprotected abstract Object getObject(int i)
protected final int getOffset(int[] keys)
protected final int getOffset(Object[] keys)
public Object getObject(CellKey pos)
SegmentDatasetObject.getObject in interface SegmentDatasetpos - Coordinate positionpublic int getInt(CellKey pos)
SegmentDatasetint.getInt in interface SegmentDatasetpos - Coordinate positionpublic double getDouble(CellKey pos)
SegmentDatasetdouble.getDouble in interface SegmentDatasetpos - Coordinate positionprotected abstract int getSize()