- java.lang.Object
-
- org.wildfly.clustering.marshalling.spi.util.MapExternalizer<T,C,CC>
-
- All Implemented Interfaces:
Externalizer<T>
- Direct Known Subclasses:
ContextualMapExternalizer,HashMapExternalizer,LinkedHashMapExternalizer
public class MapExternalizer<T extends Map<Object,Object>,C,CC> extends Object implements Externalizer<T>
Externalizers for implementations ofMap.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<T>getTargetClass()TreadObject(ObjectInput input)OptionalIntsize(T map)voidwriteObject(ObjectOutput output, T map)
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, T map) throws IOException
- Specified by:
writeObjectin interfaceExternalizer<T extends Map<Object,Object>>- Throws:
IOException
-
readObject
public T readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Specified by:
readObjectin interfaceExternalizer<T extends Map<Object,Object>>- Throws:
IOExceptionClassNotFoundException
-
size
public OptionalInt size(T map)
-
getTargetClass
public Class<T> getTargetClass()
- Specified by:
getTargetClassin interfaceExternalizer<T extends Map<Object,Object>>
-
-