/** * Reads the state of a {@code StringBuilder} from the passed stream and * restores it to this instance. * * @param in * the stream to read the state from. * @throws IOException * if the stream throws it during the read. * @throws ClassNotFoundException * if the stream throws it during the read. */ private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); int count = in.readInt(); char[] value = (char[]) in.readObject(); set(value, count); }
/** * Reads the state of a {@code StringBuilder} from the passed stream and * restores it to this instance. * * @param in * the stream to read the state from. * @throws IOException * if the stream throws it during the read. * @throws ClassNotFoundException * if the stream throws it during the read. */ private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); int count = in.readInt(); char[] value = (char[]) in.readObject(); set(value, count); }
/** * Reads the state of a {@code StringBuilder} from the passed stream and * restores it to this instance. * * @param in * the stream to read the state from. * @throws IOException * if the stream throws it during the read. * @throws ClassNotFoundException * if the stream throws it during the read. */ private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); int count = in.readInt(); char[] value = (char[]) in.readObject(); set(value, count); }
/** * Reads the state of a {@code StringBuilder} from the passed stream and * restores it to this instance. * * @param in * the stream to read the state from. * @throws IOException * if the stream throws it during the read. * @throws ClassNotFoundException * if the stream throws it during the read. */ private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); int count = in.readInt(); char[] value = (char[]) in.readObject(); set(value, count); }
/** * Reads the state of a {@code StringBuilder} from the passed stream and * restores it to this instance. * * @param in * the stream to read the state from. * @throws IOException * if the stream throws it during the read. * @throws ClassNotFoundException * if the stream throws it during the read. */ private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); int count = in.readInt(); char[] value = (char[]) in.readObject(); set(value, count); }
/** * Reads the state of a {@code StringBuilder} from the passed stream and * restores it to this instance. * * @param in * the stream to read the state from. * @throws IOException * if the stream throws it during the read. * @throws ClassNotFoundException * if the stream throws it during the read. */ private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); int count = in.readInt(); char[] value = (char[]) in.readObject(); set(value, count); }
/** * Reads the state of a {@code StringBuilder} from the passed stream and * restores it to this instance. * * @param in * the stream to read the state from. * @throws IOException * if the stream throws it during the read. * @throws ClassNotFoundException * if the stream throws it during the read. */ private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); int count = in.readInt(); char[] value = (char[]) in.readObject(); set(value, count); }