public class LinkedListStreamSerializer extends Object implements StreamSerializer<LinkedList>
LinkedList serializer| Constructor and Description |
|---|
LinkedListStreamSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called when instance is shutting down.
|
int |
getTypeId() |
LinkedList |
read(ObjectDataInput in)
Reads object from objectDataInputStream
|
void |
write(ObjectDataOutput out,
LinkedList linkedList)
This method writes object to ObjectDataOutput
|
public void write(ObjectDataOutput out, LinkedList linkedList) throws IOException
StreamSerializerwrite in interface StreamSerializer<LinkedList>out - ObjectDataOutput stream that object will be written tolinkedList - that will be written to outIOException - in case of failure to writepublic LinkedList read(ObjectDataInput in) throws IOException
StreamSerializerread in interface StreamSerializer<LinkedList>in - ObjectDataInput stream that object will read fromIOException - in case of failure to readpublic int getTypeId()
getTypeId in interface Serializerpublic void destroy()
Serializerdestroy in interface SerializerCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.