Ejemplo n.º 1
0
        /// <summary>
        /// readObject is called to restore the state of the StringBuffer from
        /// a stream.
        /// </summary>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: private synchronized void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException
        private void WriteObject(java.io.ObjectOutputStream s)
        {
            lock (this)
            {
                java.io.ObjectOutputStream.PutField fields = s.PutFields();
                fields.Put("value", Value_Renamed);
                fields.Put("count", Count);
                fields.Put("shared", false);
                s.WriteFields();
            }
        }