Пример #1
0
        /// <exception cref="System.IO.IOException"></exception>
        /// <exception cref="java.lang.ClassNotFoundException"></exception>
        private void readObject(java.io.ObjectInputStream stream)
        {
            stream.defaultReadObject();
            char inSeparator = stream.readChar();

            this.path = fixSlashes(path.Replace(inSeparator, separatorChar));
        }
Пример #2
0
        /// <summary>
        /// Reads the state of a
        /// <code>StringBuilder</code>
        /// from the passed stream and
        /// restores it to this instance.
        /// </summary>
        /// <param name="in">the stream to read the state from.</param>
        /// <exception cref="System.IO.IOException">if the stream throws it during the read.</exception>
        /// <exception cref="ClassNotFoundException">if the stream throws it during the read.
        ///     </exception>
        /// <exception cref="java.lang.ClassNotFoundException"></exception>
        private void readObject(java.io.ObjectInputStream @in)
        {
            @in.defaultReadObject();
            int count = @in.readInt();

            char[] value = (char[])@in.readObject();
            set(value, count);
        }
Пример #3
0
 /// <exception cref="System.IO.IOException"></exception>
 /// <exception cref="java.lang.ClassNotFoundException"></exception>
 private void readObject(java.io.ObjectInputStream s)
 {
     s.defaultReadObject();
     compile();
 }
Пример #4
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException
        private void readObject(java.io.ObjectInputStream @in)
        {
            @in.defaultReadObject();
            listeners = new List <LearningEventListener>();
        }
Пример #5
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException
        private void readObject(java.io.ObjectInputStream @in)
        {
            @in.defaultReadObject();
            outputHistory = new List <double>(5);
        }