public class LinkedHashMapMarshaller extends AbstractMapMarshaller<LinkedHashMap<Object,Object>>
LinkedHashMap.KEY_INDEX, VALUE_INDEX| Constructor and Description |
|---|
LinkedHashMapMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends LinkedHashMap<Object,Object>> |
getJavaClass()
Returns the type of object handled by this marshallable instance.
|
LinkedHashMap<Object,Object> |
readFrom(ProtoStreamReader reader)
Reads an object from the specified reader.
|
void |
writeTo(ProtoStreamWriter writer,
LinkedHashMap<Object,Object> map)
Writes the specified object to the specified writer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypeName, read, writepublic LinkedHashMap<Object,Object> readFrom(ProtoStreamReader reader) throws IOException
Marshallablereader - a ProtoStream readerIOException - if the object could not be readpublic void writeTo(ProtoStreamWriter writer, LinkedHashMap<Object,Object> map) throws IOException
MarshallablewriteTo in interface Marshallable<LinkedHashMap<Object,Object>>writeTo in class AbstractMapMarshaller<LinkedHashMap<Object,Object>>writer - a ProtoStream writermap - the object to be writtenIOException - if the object could not be writtenpublic Class<? extends LinkedHashMap<Object,Object>> getJavaClass()
MarshallablegetJavaClass in interface org.infinispan.protostream.BaseMarshaller<LinkedHashMap<Object,Object>>getJavaClass in interface Marshallable<LinkedHashMap<Object,Object>>getJavaClass in class AbstractMapMarshaller<LinkedHashMap<Object,Object>>Copyright © 2022 JBoss by Red Hat. All rights reserved.