public class SingletonCollectionExternalizer<T extends Collection<Object>> extends Object implements Externalizer<T>
| Constructor and Description |
|---|
SingletonCollectionExternalizer(Function<Object,T> factory) |
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getTargetClass() |
T |
readObject(ObjectInput input) |
void |
writeObject(ObjectOutput output,
T collection) |
public void writeObject(ObjectOutput output, T collection) throws IOException
writeObject in interface Externalizer<T extends Collection<Object>>IOExceptionpublic T readObject(ObjectInput input) throws IOException, ClassNotFoundException
readObject in interface Externalizer<T extends Collection<Object>>IOExceptionClassNotFoundExceptionpublic Class<T> getTargetClass()
getTargetClass in interface Externalizer<T extends Collection<Object>>Copyright © 2018 JBoss by Red Hat. All rights reserved.