public class KeyValue extends Object implements Map.Entry, DataSerializable
| Modifier and Type | Field and Description |
|---|---|
protected Data |
key |
protected Object |
objKey |
protected Object |
objValue |
protected Data |
value |
| Constructor and Description |
|---|
KeyValue() |
KeyValue(Data key,
Data value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Object |
getKey() |
Data |
getKeyData() |
Object |
getValue() |
Data |
getValueData() |
int |
hashCode() |
void |
readData(DataInput in) |
void |
setName(FactoryImpl factoryImpl,
String name) |
Object |
setValue(Object newValue) |
String |
toString() |
void |
writeData(DataOutput out) |
protected Data key
protected Data value
protected Object objKey
protected Object objValue
public void writeData(DataOutput out) throws IOException
writeData in interface DataSerializableIOExceptionpublic void readData(DataInput in) throws IOException
readData in interface DataSerializableIOExceptionpublic Data getKeyData()
public Data getValueData()
public void setName(FactoryImpl factoryImpl, String name)
public boolean equals(Object o)
public int hashCode()
Copyright © 2013 Hazelcast, Inc.. All rights reserved.