public class RandomGroupsData extends Data
dataSize, fileOffset, input| Constructor and Description |
|---|
RandomGroupsData()
Create the equivalent of a null data element.
|
RandomGroupsData(java.lang.Object[][] x)
Create a RandomGroupsData object using the specified object to
initialize the data array.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillHeader(Header h)
Modify a header to point to this data
|
java.lang.Object |
getData()
Return the data array object.
|
protected long |
getTrueSize()
Get the size of the actual data element.
|
void |
read(ArrayDataInput str)
Read the RandomGroupsData
|
void |
write(ArrayDataOutput str)
Write the RandomGroupsData
|
getFileOffset, getKernel, getSize, reset, rewrite, rewriteable, setFileOffsetpublic RandomGroupsData()
public RandomGroupsData(java.lang.Object[][] x)
x - The initial data array. This should a two-d
array of objects as described above.protected long getTrueSize()
public void read(ArrayDataInput str) throws FitsException
read in interface FitsElementread in class Datastr - The input data streamFitsExceptionpublic void write(ArrayDataOutput str) throws FitsException
write in interface FitsElementwrite in class Datastr - The output stream on which to write the data.FitsExceptionprotected void fillHeader(Header h) throws FitsException
DataFitsException