java.lang.Object
org.wildfly.clustering.marshalling.spi.util.UnmodifiableMapExternalizer<T>
- All Implemented Interfaces:
Externalizer<T>
public class UnmodifiableMapExternalizer<T extends Map<Object,Object>>
extends Object
implements Externalizer<T>
Externalizer for unmodifiable maps created via
Map.of() or java.util.Map#ofEntries() methods.- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadObject(ObjectInput input) voidwriteObject(ObjectOutput output, T map) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.marshalling.Externalizer
size
-
Constructor Details
-
UnmodifiableMapExternalizer
-
-
Method Details
-
writeObject
- Specified by:
writeObjectin interfaceExternalizer<T extends Map<Object,Object>> - Throws:
IOException
-
readObject
- Specified by:
readObjectin interfaceExternalizer<T extends Map<Object,Object>> - Throws:
IOExceptionClassNotFoundException
-
getTargetClass
- Specified by:
getTargetClassin interfaceExternalizer<T extends Map<Object,Object>>
-