Class HashMapProxy
java.lang.Object
org.javimmutable.collections.serialization.HashMapProxy
- All Implemented Interfaces:
Externalizable,Serializable
Serialization proxy class to safely serialize immutable collection.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected IMapreadMap(ObjectInput in) protected Objectvoidprotected voidwriteMap(ObjectOutput out)
-
Field Details
-
map
-
-
Constructor Details
-
HashMapProxy
public HashMapProxy() -
HashMapProxy
-
HashMapProxy
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
readResolve
-
readMap
- Throws:
IOExceptionClassNotFoundException
-
writeMap
- Throws:
IOException
-