867 |
|
} |
868 |
|
|
869 |
|
/** |
870 |
< |
* Saves the state to a stream (that is, serializes it). For |
871 |
< |
* compatibility with previous version of this class, |
872 |
< |
* elements are first copied to a java.util.PriorityQueue, |
873 |
< |
* which is then serialized. |
870 |
> |
* Saves this queue to a stream (that is, serializes it). |
871 |
> |
* |
872 |
> |
* For compatibility with previous version of this class, elements |
873 |
> |
* are first copied to a java.util.PriorityQueue, which is then |
874 |
> |
* serialized. |
875 |
|
*/ |
876 |
|
private void writeObject(java.io.ObjectOutputStream s) |
877 |
|
throws java.io.IOException { |
888 |
|
} |
889 |
|
|
890 |
|
/** |
891 |
< |
* Reconstitutes the {@code PriorityBlockingQueue} instance from a stream |
891 |
< |
* (that is, deserializes it). |
892 |
< |
* |
893 |
< |
* @param s the stream |
891 |
> |
* Reconstitutes this queue from a stream (that is, deserializes it). |
892 |
|
*/ |
893 |
|
private void readObject(java.io.ObjectInputStream s) |
894 |
|
throws java.io.IOException, ClassNotFoundException { |