public class ArrayListStreamSerializer extends Object implements StreamSerializer<ArrayList>
ArrayList serializer| Constructor and Description |
|---|
ArrayListStreamSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called when instance is shutting down.
|
int |
getTypeId() |
ArrayList |
read(ObjectDataInput in)
Reads object from objectDataInputStream
|
void |
write(ObjectDataOutput out,
ArrayList arrayList)
This method writes object to ObjectDataOutput
|
public void write(ObjectDataOutput out, ArrayList arrayList) throws IOException
StreamSerializerwrite in interface StreamSerializer<ArrayList>out - ObjectDataOutput stream that object will be written toarrayList - that will be written to outIOException - in case of failure to writepublic ArrayList read(ObjectDataInput in) throws IOException
StreamSerializerread in interface StreamSerializer<ArrayList>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 © 2016 Hazelcast, Inc.. All Rights Reserved.