828 |
|
} |
829 |
|
|
830 |
|
/** |
831 |
< |
* Saves the state to a stream (that is, serializes it). |
831 |
> |
* Saves this queue to a stream (that is, serializes it). |
832 |
|
* |
833 |
|
* @serialData The capacity is emitted (int), followed by all of |
834 |
|
* its elements (each an {@code Object}) in the proper order, |
835 |
|
* followed by a null |
836 |
– |
* @param s the stream |
836 |
|
*/ |
837 |
|
private void writeObject(java.io.ObjectOutputStream s) |
838 |
|
throws java.io.IOException { |
855 |
|
|
856 |
|
/** |
857 |
|
* Reconstitutes this queue from a stream (that is, deserializes it). |
859 |
– |
* |
860 |
– |
* @param s the stream |
858 |
|
*/ |
859 |
|
private void readObject(java.io.ObjectInputStream s) |
860 |
|
throws java.io.IOException, ClassNotFoundException { |