public class GridDataType1 extends GridData implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected short[] |
dataValues |
protected float |
fieldOffset |
protected float |
fieldScale |
protected short |
numberOfValues |
dataRepresentation, sampleType
Constructor and Description |
---|
GridDataType1()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
equalsImpl(java.lang.Object obj)
Compare all fields that contribute to the state, ignoring
transient and static fields, for
this and the supplied object |
short[] |
getDataValues()
Getter for
dataValues |
float |
getFieldOffset()
Getter for
fieldOffset |
float |
getFieldScale()
Getter for
fieldScale |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
GridDataType1 |
setDataValues(short[] pDataValues)
Setter for
dataValues |
GridDataType1 |
setFieldOffset(float pFieldOffset)
Setter for
fieldOffset |
GridDataType1 |
setFieldScale(float pFieldScale)
Setter for
fieldScale |
int |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
int |
unmarshal(java.io.DataInputStream dis)
Unserializes an object from a DataInputStream.
|
getDataRepresentation, getSampleType, setDataRepresentation, setSampleType
protected float fieldScale
protected float fieldOffset
protected short numberOfValues
protected short[] dataValues
public int getMarshalledSize()
getMarshalledSize
in class GridData
public GridDataType1 setFieldScale(float pFieldScale)
fieldScale
public float getFieldScale()
fieldScale
public GridDataType1 setFieldOffset(float pFieldOffset)
fieldOffset
public float getFieldOffset()
fieldOffset
public GridDataType1 setDataValues(short[] pDataValues)
dataValues
public short[] getDataValues()
dataValues
public void marshal(java.io.DataOutputStream dos)
public int unmarshal(java.io.DataInputStream dis)
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
public int unmarshal(java.nio.ByteBuffer buff) throws java.lang.Exception
public boolean equalsImpl(java.lang.Object obj)
GridData
this
and the supplied objectequalsImpl
in class GridData
obj
- the object to compare to