public class MapExternalizer<T extends Map<Object,Object>,C,CC> extends Object implements Externalizer<T>
Map.| Modifier | Constructor and Description |
|---|---|
protected |
MapExternalizer(Class<T> targetClass,
Function<CC,T> factory,
Function<Map.Entry<C,Integer>,CC> constructorContext,
Function<T,C> context,
Externalizer<C> contextExternalizer) |
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getTargetClass() |
T |
readObject(ObjectInput input) |
OptionalInt |
size(T map) |
void |
writeObject(ObjectOutput output,
T map) |
public void writeObject(ObjectOutput output, T map) throws IOException
writeObject in interface Externalizer<T extends Map<Object,Object>>IOExceptionpublic T readObject(ObjectInput input) throws IOException, ClassNotFoundException
readObject in interface Externalizer<T extends Map<Object,Object>>IOExceptionClassNotFoundExceptionpublic OptionalInt size(T map)
public Class<T> getTargetClass()
getTargetClass in interface Externalizer<T extends Map<Object,Object>>Copyright © 2021 JBoss by Red Hat. All rights reserved.