[]
This is an implementation of the DataBlk interface for signed 32 bit integral data.
<p>The methods in this class are declared final, so that they can be
inlined by inlining compilers.</p>
public class DataBlkInt : DataBlk
Name | Description |
---|---|
DataBlkInt() | Creates a DataBlkInt with 0 dimensions and no data array (i.e. data is null). |
DataBlkInt(DataBlkInt) | Copy constructor. Creates a DataBlkInt which is the copy of the DataBlkInt given as paramter. |
DataBlkInt(int, int, int, int) | Creates a DataBlkInt with the specified dimensions and position. The data array is initialized to an array of size w*h. |
Name | Description |
---|---|
data_array | The array where the data is stored |
Name | Description |
---|---|
Data | Returns the array containing the data, or null if there is no data array. The returned array is a int array. |
DataInt | Returns the array containing the data, or null if there is no data array. |
DataType | Returns the identifier of this data type, TYPE_INT, as defined in DataBlk. |
Name | Description |
---|---|
ToString() | Returns a string of informations about the DataBlkInt. |