Constructor and Description |
---|
BlockDataElement(long pDataKey,
byte[] pContent)
Creates a BlockDataElement with given bytes
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getDataKey() |
com.google.common.hash.Funnel<IData> |
getFunnel() |
byte[] |
getVal()
Getting the byte array contained by this data.
|
int |
hashCode() |
void |
serialize(DataOutput output)
Serializing to given dataput
|
void |
setVal(byte[] pVal)
Replace the existing byte array with another byte array.
|
public BlockDataElement(long pDataKey, byte[] pContent)
pDataKey
- pContent
- public void serialize(DataOutput output) throws TTIOException
serialize
in interface IData
output
- to serialize toTTIOException
public long getDataKey()
getDataKey
in interface IData
public byte[] getVal()
public void setVal(byte[] pVal)
pVal
- Copyright © 2013. All Rights Reserved.