810 |
|
/** |
811 |
|
* Saves this deque to a stream (that is, serializes it). |
812 |
|
* |
813 |
+ |
* @param s the stream |
814 |
+ |
* @throws java.io.IOException if an I/O error occurs |
815 |
|
* @serialData The current size ({@code int}) of the deque, |
816 |
|
* followed by all of its elements (each an object reference) in |
817 |
|
* first-to-last order. |
831 |
|
|
832 |
|
/** |
833 |
|
* Reconstitutes this deque from a stream (that is, deserializes it). |
834 |
+ |
* @param s the stream |
835 |
+ |
* @throws ClassNotFoundException if the class of a serialized object |
836 |
+ |
* could not be found |
837 |
+ |
* @throws java.io.IOException if an I/O error occurs |
838 |
|
*/ |
839 |
|
private void readObject(java.io.ObjectInputStream s) |
840 |
|
throws java.io.IOException, ClassNotFoundException { |