Code example for ObjectInput

Methods: readObject

0
            } 
        } 
 
        public void readExternal(ObjectInput in) throws IOException, ClassNotFoundExceptionthis.mutableBag = (MutableBag<T>) in.readObject();
        } 
 
        protected Object readResolve() 
        { 
            return this.mutableBag.asUnmodifiable();
        } 
    } 
}