public final class SerializableList extends Object implements IdentifiedDataSerializable, Iterable<Data>
| Constructor and Description |
|---|
SerializableList() |
SerializableList(List<Data> collection) |
| Modifier and Type | Method and Description |
|---|---|
List<Data> |
getCollection() |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
Iterator<Data> |
iterator() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
int |
size() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionpublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablepublic int size()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.