Package be.bagofwords.db.methods
Class IntegerObjectSerializer
- java.lang.Object
-
- be.bagofwords.db.methods.IntegerObjectSerializer
-
- All Implemented Interfaces:
ObjectSerializer<Integer>,Serializable
public class IntegerObjectSerializer extends Object implements ObjectSerializer<Integer>
Created by koen on 23/05/17.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntegerObjectSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetObjectSize()IntegerreadValue(DataStream ds, int size)voidwriteValue(Integer obj, DataStream ds)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface be.bagofwords.db.methods.ObjectSerializer
createExecConfig
-
-
-
-
Method Detail
-
writeValue
public void writeValue(Integer obj, DataStream ds)
- Specified by:
writeValuein interfaceObjectSerializer<Integer>
-
readValue
public Integer readValue(DataStream ds, int size)
- Specified by:
readValuein interfaceObjectSerializer<Integer>
-
getObjectSize
public int getObjectSize()
- Specified by:
getObjectSizein interfaceObjectSerializer<Integer>
-
-