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