|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.spi.impl.SerializableCollection
public final class SerializableCollection
| Constructor Summary | |
|---|---|
SerializableCollection()
|
|
SerializableCollection(Collection<Data> collection)
|
|
SerializableCollection(Data... dataArray)
|
|
| Method Summary | |
|---|---|
Collection<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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerializableCollection()
public SerializableCollection(Collection<Data> collection)
public SerializableCollection(Data... dataArray)
| Method Detail |
|---|
public Collection<Data> getCollection()
public void writeData(ObjectDataOutput out)
throws IOException
DataSerializable
writeData in interface DataSerializableout - output
IOException
public void readData(ObjectDataInput in)
throws IOException
DataSerializable
readData in interface DataSerializablein - input
IOExceptionpublic int getFactoryId()
IdentifiedDataSerializable
getFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializable
getId in interface IdentifiedDataSerializablepublic Iterator<Data> iterator()
iterator in interface Iterable<Data>public int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||