public class DoubleSerializer extends java.lang.Object implements Serializer<java.lang.Double>
| Constructor and Description |
|---|
DoubleSerializer() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
serialize(java.lang.String topic,
java.lang.Double data)
Convert
data into a byte array. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, configure, serializepublic byte[] serialize(java.lang.String topic,
java.lang.Double data)
Serializerdata into a byte array.serialize in interface Serializer<java.lang.Double>topic - topic associated with datadata - typed data