public class EnumSetExternalizer<E extends Enum<E>> extends Object implements Externalizer<EnumSet<E>>
EnumSet. Handles both regular and jumbo variants.| Constructor and Description |
|---|
EnumSetExternalizer() |
| Modifier and Type | Method and Description |
|---|---|
Class<EnumSet<E>> |
getTargetClass() |
EnumSet<E> |
readObject(ObjectInput input) |
void |
writeObject(ObjectOutput output,
EnumSet<E> set) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsizepublic void writeObject(ObjectOutput output, EnumSet<E> set) throws IOException
writeObject in interface Externalizer<EnumSet<E extends Enum<E>>>IOExceptionpublic EnumSet<E> readObject(ObjectInput input) throws IOException, ClassNotFoundException
readObject in interface Externalizer<EnumSet<E extends Enum<E>>>IOExceptionClassNotFoundExceptionpublic Class<EnumSet<E>> getTargetClass()
getTargetClass in interface Externalizer<EnumSet<E extends Enum<E>>>Copyright © 2021 JBoss by Red Hat. All rights reserved.