1251 |
|
* Saves this deque to a stream (that is, serializes it). |
1252 |
|
* |
1253 |
|
* @param s the stream |
1254 |
+ |
* @throws java.io.IOException if an I/O error occurs |
1255 |
|
* @serialData The capacity (int), followed by elements (each an |
1256 |
|
* {@code Object}) in the proper order, followed by a null |
1257 |
|
*/ |
1275 |
|
/** |
1276 |
|
* Reconstitutes this deque from a stream (that is, deserializes it). |
1277 |
|
* @param s the stream |
1278 |
+ |
* @throws ClassNotFoundException if the class of a serialized object |
1279 |
+ |
* could not be found |
1280 |
+ |
* @throws java.io.IOException if an I/O error occurs |
1281 |
|
*/ |
1282 |
|
private void readObject(java.io.ObjectInputStream s) |
1283 |
|
throws java.io.IOException, ClassNotFoundException { |