|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.iris.dmc.seedcodec.DecompressedData
public class DecompressedData
DecompressedData.java Created: Thu Nov 21 13:03:44 2002
Field Summary | |
---|---|
protected double[] |
dData
holds a temp double array of the data elements. |
protected float[] |
fData
holds a temp float array of the data elements. |
protected int[] |
iData
holds a temp int array of the data elements. |
protected short[] |
sData
holds a temp short array of the data elements. |
Fields inherited from interface edu.iris.dmc.seedcodec.B1000Types |
---|
ASCII, CDSN, DOUBLE, DWWSSN, FLOAT, INT24, INTEGER, SHORT, SRO, STEIM1, STEIM2 |
Constructor Summary | |
---|---|
DecompressedData(double[] data)
|
|
DecompressedData(float[] data)
|
|
DecompressedData(int[] data)
|
|
DecompressedData(short[] data)
|
Method Summary | |
---|---|
double[] |
getAsDouble()
Converts the data to a double array if possible without loss. |
float[] |
getAsFloat()
Converts the data to a float array if possible without loss. |
int[] |
getAsInt()
Converts the data to an int array if possible without loss. |
short[] |
getAsShort()
Converts the data to a short array if possible without loss. |
int |
getType()
returns an integer that represent the java primitive that the data decompresses to. |
java.lang.String |
getTypeString()
returns a string version of the type for printing in error messages. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int[] iData
protected short[] sData
protected float[] fData
protected double[] dData
Constructor Detail |
---|
public DecompressedData(int[] data)
public DecompressedData(short[] data)
public DecompressedData(float[] data)
public DecompressedData(double[] data)
Method Detail |
---|
public int getType()
for the values.
,
for the seed manual, blockette 1000, that defines these values.
public java.lang.String getTypeString()
public int[] getAsInt()
public short[] getAsShort()
public float[] getAsFloat()
public double[] getAsDouble()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |