Restores the queue state and contents, reading from input and expecting
data previously written by save() to an output stream.
Assumes that the input data do not exceed the queue capacity and throws
if they do. If this is possible and you want to handle this gracefully
(rather than getting an exception thrown), use the other overload of
this method.
Restores the queue state and contents, reading from input and expecting data previously written by save() to an output stream.
Assumes that the input data do not exceed the queue capacity and throws if they do. If this is possible and you want to handle this gracefully (rather than getting an exception thrown), use the other overload of this method.