public class Pair<T,V> extends Object implements Externalizable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
T |
getFirst() |
V |
getSecond() |
int |
hashCode() |
void |
readExternal(ObjectInput objectInput) |
void |
setFirst(T first) |
void |
setSecond(V second) |
String |
toString() |
void |
writeExternal(ObjectOutput objectOutput) |
public T getFirst()
public V getSecond()
public void setFirst(T first)
public void setSecond(V second)
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput objectInput) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.