private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
PriorityQueue instance from a stream (that is,
deserializes it).IOException - when a problem occurs reading the objectClassNotFoundException - when an attempt to read the object was made but the class
corresponding to the serialized object was not on the
classpathprivate void writeObject(ObjectOutputStream s) throws IOException
Object) in the proper order.IOException - when a problem occurs writing the objectint size
Comparator<T> comparator
Copyright © 2013–2016. All rights reserved.