Class EnumMapExternalizer<E extends Enum<E>>
- java.lang.Object
-
- org.wildfly.clustering.marshalling.spi.util.EnumMapExternalizer<E>
-
- All Implemented Interfaces:
Externalizer<EnumMap<E,Object>>
public class EnumMapExternalizer<E extends Enum<E>> extends Object implements Externalizer<EnumMap<E,Object>>
Externalizer for anEnumMap.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description EnumMapExternalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<EnumMap<E,Object>>getTargetClass()EnumMap<E,Object>readObject(ObjectInput input)voidwriteObject(ObjectOutput output, EnumMap<E,Object> map)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.clustering.marshalling.Externalizer
size
-
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, EnumMap<E,Object> map) throws IOException
- Specified by:
writeObjectin interfaceExternalizer<E extends Enum<E>>- Throws:
IOException
-
readObject
public EnumMap<E,Object> readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Specified by:
readObjectin interfaceExternalizer<E extends Enum<E>>- Throws:
IOExceptionClassNotFoundException
-
getTargetClass
public Class<EnumMap<E,Object>> getTargetClass()
- Specified by:
getTargetClassin interfaceExternalizer<E extends Enum<E>>
-
-