Reconstitute the RBTreeMap instance from a stream (i.e., deserialize it).
(final java.io.ObjectInputStream s)
| 1548 | * deserialize it). |
| 1549 | */ |
| 1550 | private void readObject(final java.io.ObjectInputStream s) |
| 1551 | throws java.io.IOException, ClassNotFoundException { |
| 1552 | |
| 1553 | // Read in the Comparator and any hidden stuff |
| 1554 | s.defaultReadObject(); |
| 1555 | |
| 1556 | // Read in size |
| 1557 | int size = s.readInt(); |
| 1558 | |
| 1559 | buildFromSorted(size, null, s, null); |
| 1560 | } // readObject |
| 1561 | |
| 1562 | /** Intended to be called only from TreeSet.readObject */ |
| 1563 | void readTreeSet(int size, java.io.ObjectInputStream s, V defaultVal) |
no test coverage detected