1123 |
|
} |
1124 |
|
|
1125 |
|
/** |
1126 |
< |
* Saves the state of this deque to a stream (that is, serializes it). |
1126 |
> |
* Saves this deque to a stream (that is, serializes it). |
1127 |
|
* |
1128 |
|
* @serialData The capacity (int), followed by elements (each an |
1129 |
|
* {@code Object}) in the proper order, followed by a null |
1130 |
– |
* @param s the stream |
1130 |
|
*/ |
1131 |
|
private void writeObject(java.io.ObjectOutputStream s) |
1132 |
|
throws java.io.IOException { |
1147 |
|
|
1148 |
|
/** |
1149 |
|
* Reconstitutes this deque from a stream (that is, deserializes it). |
1151 |
– |
* |
1152 |
– |
* @param s the stream |
1150 |
|
*/ |
1151 |
|
private void readObject(java.io.ObjectInputStream s) |
1152 |
|
throws java.io.IOException, ClassNotFoundException { |