public class GridDataType2 extends GridData implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected float[] |
dataValues |
protected short |
numberOfValues |
protected short |
padding |
dataRepresentation, sampleType
Constructor and Description |
---|
GridDataType2()
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 |
float[] |
getDataValues()
Getter for
dataValues |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
short |
getPadding()
Getter for
padding |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
GridDataType2 |
setDataValues(float[] pDataValues)
Setter for
dataValues |
GridDataType2 |
setPadding(short pPadding)
Setter for
padding |
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 short numberOfValues
protected short padding
protected float[] dataValues
public int getMarshalledSize()
getMarshalledSize
in class GridData
public GridDataType2 setPadding(short pPadding)
padding
public short getPadding()
padding
public GridDataType2 setDataValues(float[] pDataValues)
dataValues
public float[] 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