public class RandomGroupsData extends Data
dataSize, fileOffset, input| Constructor and Description |
|---|
RandomGroupsData()
Create the equivalent of a null data element.
|
RandomGroupsData(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
|
Object |
getData()
Return the data array object.
|
protected int |
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, rewrite, rewriteable, setFileOffsetpublic RandomGroupsData()
public RandomGroupsData(Object[][] x)
x - The initial data array. This should a two-d
array of objects as described above.protected int 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
DataFitsExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.