@serialData the Class for the enum type, the number of distinct elements, the first element, its count, the second element, its count, and so on
(ObjectInputStream stream)
| 99 | */ |
| 100 | |
| 101 | @GwtIncompatible // java.io.ObjectInputStream |
| 102 | private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { |
| 103 | stream.defaultReadObject(); |
| 104 | @SuppressWarnings("unchecked") // reading data stored by writeObject |
| 105 | Class<E> localType = (Class<E>) stream.readObject(); |
| 106 | type = localType; |
| 107 | setBackingMap(WellBehavedMap.wrap(new EnumMap<E, Count>(type))); |
| 108 | Serialization.populateMultiset(this, stream); |
| 109 | } |
| 110 | |
| 111 | @GwtIncompatible // Not needed in emulated source |
| 112 | private static final long serialVersionUID = 0; |
nothing calls this directly
no test coverage detected