Code example for ObjectInput

Methods: readObject

0
        out.writeObject(this.mutableCollection);
    } 
 
    public void readExternal(ObjectInput in) throws IOException, ClassNotFoundExceptionthis.mutableCollection = (MutableCollection<T>) in.readObject();
    } 
 
    protected Object readResolve() 
    { 
        return this.mutableCollection.asSynchronized();
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java