public class Data
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static int |
OUTLIER_MASK
The outliers mask.
|
static int |
REMOVE_OUTLIER_MASK
The inverse outliers mask.
|
Constructor and Description |
---|
Data(int[][] data,
java.lang.String[] header,
int[] map,
Dictionary dictionary)
Creates a new data object.
|
Modifier and Type | Method and Description |
---|---|
Data |
clone() |
int[][] |
getArray()
Returns the data array.
|
int[][] |
getData()
Returns the data.
|
int |
getDataLength()
Returns the number of rows.
|
Dictionary |
getDictionary()
Returns the dictionary.
|
java.lang.String[] |
getHeader()
Returns the header.
|
int[] |
getMap()
Returns the map.
|
Data |
getSubsetInstance(RowSet rowset)
Returns a new instance that is projected onto the given subset
|
public static final int OUTLIER_MASK
public static final int REMOVE_OUTLIER_MASK
public Data(int[][] data, java.lang.String[] header, int[] map, Dictionary dictionary)
data
- The int arrayheader
- The headermap
- The mapdictionary
- The dictionarypublic Data clone()
clone
in class java.lang.Object
public int[][] getArray()
public int[][] getData()
public int getDataLength()
public Dictionary getDictionary()
public java.lang.String[] getHeader()
public int[] getMap()