(ObjectInputStream stream)
| 142 | } |
| 143 | |
| 144 | @SuppressWarnings("unchecked") // reading fields populated by writeObject |
| 145 | @GwtIncompatible // java.io.ObjectInputStream |
| 146 | private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { |
| 147 | stream.defaultReadObject(); |
| 148 | keyType = (Class<K>) stream.readObject(); |
| 149 | valueType = (Class<V>) stream.readObject(); |
| 150 | setDelegates( |
| 151 | WellBehavedMap.wrap(new EnumMap<K, V>(keyType)), |
| 152 | WellBehavedMap.wrap(new EnumMap<V, K>(valueType))); |
| 153 | Serialization.populateMap(this, stream); |
| 154 | } |
| 155 | |
| 156 | @GwtIncompatible // not needed in emulated source. |
| 157 | private static final long serialVersionUID = 0; |
nothing calls this directly
no test coverage detected