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(nom.tam.util.ArrayDataInput str)
Read the RandomGroupsData
|
void |
write(nom.tam.util.ArrayDataOutput str)
Write the RandomGroupsData
|
getFileOffset, getKernel, getSize, reset, rewrite, rewriteable, setFileOffset
public 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(nom.tam.util.ArrayDataInput str) throws FitsException
read
in interface FitsElement
read
in class Data
str
- The input data streamFitsException
public void write(nom.tam.util.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