1474 |
|
* Saves this deque to a stream (that is, serializes it). |
1475 |
|
* |
1476 |
|
* @param s the stream |
1477 |
+ |
* @throws java.io.IOException if an I/O error occurs |
1478 |
|
* @serialData All of the elements (each an {@code E}) in |
1479 |
|
* the proper order, followed by a null |
1480 |
|
*/ |
1498 |
|
/** |
1499 |
|
* Reconstitutes this deque from a stream (that is, deserializes it). |
1500 |
|
* @param s the stream |
1501 |
+ |
* @throws ClassNotFoundException if the class of a serialized object |
1502 |
+ |
* could not be found |
1503 |
+ |
* @throws java.io.IOException if an I/O error occurs |
1504 |
|
*/ |
1505 |
|
private void readObject(java.io.ObjectInputStream s) |
1506 |
|
throws java.io.IOException, ClassNotFoundException { |