(ObjectInputStream stream)
| 973 | } |
| 974 | |
| 975 | @GwtIncompatible // java.io.ObjectInputStream |
| 976 | private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { |
| 977 | stream.defaultReadObject(); |
| 978 | @SuppressWarnings("unchecked") |
| 979 | // reading data stored by writeObject |
| 980 | Comparator<? super E> comparator = (Comparator<? super E>) stream.readObject(); |
| 981 | Serialization.getFieldSetter(AbstractSortedMultiset.class, "comparator").set(this, comparator); |
| 982 | Serialization.getFieldSetter(TreeMultiset.class, "range").set(this, GeneralRange.all(comparator)); |
| 983 | Serialization.getFieldSetter(TreeMultiset.class, "rootReference").set(this, new Reference<AvlNode<E>>()); |
| 984 | AvlNode<E> header = new AvlNode<E>(null, 1); |
| 985 | Serialization.getFieldSetter(TreeMultiset.class, "header").set(this, header); |
| 986 | successor(header, header); |
| 987 | Serialization.populateMultiset(this, stream); |
| 988 | } |
| 989 | |
| 990 | @GwtIncompatible // not needed in emulated source |
| 991 | private static final long serialVersionUID = 1; |
nothing calls this directly
no test coverage detected