551 |
/** |
/** |
552 |
* Serializes this object to the given stream. |
* Serializes this object to the given stream. |
553 |
* |
* |
554 |
* @param out the stream to write to |
* @param s the stream to write to |
555 |
* @throws IOException if the underlying stream fails |
* @throws IOException if the underlying stream fails |
556 |
* @serialData the size field (int), the length of the backing array |
* @serialData the size field (int), the length of the backing array |
557 |
* (int), followed by its elements (Objects) in proper order. |
* (int), followed by its elements (Objects) in proper order. |
572 |
/** |
/** |
573 |
* Deserializes this object from the given stream. |
* Deserializes this object from the given stream. |
574 |
* |
* |
575 |
* @param in the stream to read from |
* @param s the stream to read from |
576 |
* @throws ClassNotFoundException if the underlying stream fails |
* @throws ClassNotFoundException if the underlying stream fails |
577 |
* @throws IOException if the underlying stream fails |
* @throws IOException if the underlying stream fails |
578 |
* @serialData the size field (int), the length of the backing array |
* @serialData the size field (int), the length of the backing array |