public class CBlkWTDataInt extends CBlkWTData
The methods in this class are declared final, so that they can be inlined by inlining compilers.
CBlkWTData
Modifier and Type | Field and Description |
---|---|
int[] |
data
The array where the data is stored
|
Constructor and Description |
---|
CBlkWTDataInt() |
Modifier and Type | Method and Description |
---|---|
Object |
getData()
Returns the array containing the data, or null if there is no
data array.
|
int[] |
getDataInt()
Returns the array containing the data, or null if there is no
data array.
|
int |
getDataType()
Returns the data type of this object, always DataBlk.TYPE_INT.
|
void |
setData(Object arr)
Sets the data array to the specified one.
|
void |
setDataInt(int[] arr)
Sets the data array to the specified one.
|
toString
public int[] data
public CBlkWTDataInt()
public final int getDataType()
getDataType
in class CBlkWTData
DataBlk
public final Object getData()
getData
in class CBlkWTData
CBlkWTData.getDataType()
public final int[] getDataInt()
public final void setData(Object arr)
setData
in class CBlkWTData
arr
- The data array to use. Must be an int array.CBlkWTData.getDataType()
public final void setDataInt(int[] arr)
arr
- The data array to use.Copyright © 2014. All rights reserved.