public static class LegacyObject.LegacyArray
extends java.lang.Object
implements java.io.Externalizable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
val
The field's value.
|
| Constructor and Description |
|---|
LegacyArray()
Default constructor, for deserialization purposes.
|
LegacyArray(java.lang.Object val)
Create a new instance to serialize the given array.
|
| Modifier and Type | Method and Description |
|---|---|
void |
readExternal(java.io.ObjectInput in)
Deserialize the
value. |
void |
writeExternal(java.io.ObjectOutput out)
Serialize the
value. |
public LegacyArray()
public LegacyArray(java.lang.Object val)
val - The array to serialize.public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
value. Relies on LegacyObject.serializeField(com.goldencode.p2j.oo.lang._BaseObject_, java.lang.reflect.Field) to get the
serialized representation of the array elements.writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
value.readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException