public static final class ConstantSerializers.BooleanSerializer extends Object
| Constructor and Description |
|---|
ConstantSerializers.BooleanSerializer() |
| Modifier and Type | Method and Description |
|---|---|
int |
getTypeId() |
Boolean |
read(ObjectDataInput in)
Reads object from objectDataInputStream
|
void |
write(ObjectDataOutput out,
Boolean obj)
This method writes object to ObjectDataOutput
|
public ConstantSerializers.BooleanSerializer()
public int getTypeId()
public void write(ObjectDataOutput out, Boolean obj) throws IOException
StreamSerializerout - ObjectDataOutput stream that object will be written toobj - that will be written to outIOException - in case of failure to writepublic Boolean read(ObjectDataInput in) throws IOException
StreamSerializerin - ObjectDataInput stream that object will read fromIOException - in case of failure to readCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.