public class TimestampValuePair
extends java.lang.Object
implements java.io.Externalizable
Constructor and Description |
---|
TimestampValuePair()
Empty construtor
|
TimestampValuePair(int timestamp,
byte[] value)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
byte[] |
getHashedValue()
Get the value's hash
|
int |
getRound()
Get round
|
byte[] |
getValue()
Get value
|
int |
hashCode() |
void |
readExternal(java.io.ObjectInput in) |
void |
setHashedValue(byte[] hashedValue)
Set the value's hash
|
void |
writeExternal(java.io.ObjectOutput out) |
public TimestampValuePair(int timestamp, byte[] value)
round
- Roundvalue
- Valuepublic TimestampValuePair()
public void setHashedValue(byte[] hashedValue)
hashedValue
- Sintese do valorpublic byte[] getHashedValue()
public int getRound()
public byte[] getValue()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException