/** * Writes the state of this object to the stream passed. * * @param out * the stream to write the state to. * @throws IOException * if the stream throws it during the write. * @serialData {@code int} - the length of this object. {@code char[]} - the * buffer from this object, which may be larger than the length * field. */ private void writeObject(ObjectOutputStream out) throws IOException { out.defaultWriteObject(); out.writeInt(length()); out.writeObject(getValue()); } }
/** * Writes the state of this object to the stream passed. * * @param out * the stream to write the state to. * @throws IOException * if the stream throws it during the write. * @serialData {@code int} - the length of this object. {@code char[]} - the * buffer from this object, which may be larger than the length * field. */ private void writeObject(ObjectOutputStream out) throws IOException { out.defaultWriteObject(); out.writeInt(length()); out.writeObject(getValue()); } }
/** * Writes the state of this object to the stream passed. * * @param out * the stream to write the state to. * @throws IOException * if the stream throws it during the write. * @serialData {@code int} - the length of this object. {@code char[]} - the * buffer from this object, which may be larger than the length * field. */ private void writeObject(ObjectOutputStream out) throws IOException { out.defaultWriteObject(); out.writeInt(length()); out.writeObject(getValue()); } }
/** * Writes the state of this object to the stream passed. * * @param out * the stream to write the state to. * @throws IOException * if the stream throws it during the write. * @serialData {@code int} - the length of this object. {@code char[]} - the * buffer from this object, which may be larger than the length * field. */ private void writeObject(ObjectOutputStream out) throws IOException { out.defaultWriteObject(); out.writeInt(length()); out.writeObject(getValue()); } }
/** * Writes the state of this object to the stream passed. * * @param out * the stream to write the state to. * @throws IOException * if the stream throws it during the write. * @serialData {@code int} - the length of this object. {@code char[]} - the * buffer from this object, which may be larger than the length * field. */ private void writeObject(ObjectOutputStream out) throws IOException { out.defaultWriteObject(); out.writeInt(length()); out.writeObject(getValue()); } }
/** * Writes the state of this object to the stream passed. * * @param out * the stream to write the state to. * @throws IOException * if the stream throws it during the write. * @serialData {@code int} - the length of this object. {@code char[]} - the * buffer from this object, which may be larger than the length * field. */ private void writeObject(ObjectOutputStream out) throws IOException { out.defaultWriteObject(); out.writeInt(length()); out.writeObject(getValue()); } }
/** * Writes the state of this object to the stream passed. * * @param out * the stream to write the state to. * @throws IOException * if the stream throws it during the write. * @serialData {@code int} - the length of this object. {@code char[]} - the * buffer from this object, which may be larger than the length * field. */ private void writeObject(ObjectOutputStream out) throws IOException { out.defaultWriteObject(); out.writeInt(length()); out.writeObject(getValue()); } }