T1 - type of first objectT2 - type of second objectpublic static class Pair.Serializable<T1 extends Serializable,T2 extends Serializable> extends Pair<T1,T2> implements Externalizable
Pair.Serializable<T1 extends Serializable,T2 extends Serializable>| Constructor and Description |
|---|
Serializable()
Constructor for serialization purpose only.
|
Serializable(T1 value1,
T2 value2)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2019. All rights reserved.