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, setFileOffset
public 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 FitsElement
read
in class Data
str
- The input data streamFitsException
public void write(ArrayDataOutput str) throws FitsException
write
in interface FitsElement
write
in class Data
str
- The output stream on which to write the data.FitsException
protected void fillHeader(Header h) throws FitsException
Data
FitsException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.