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, wait
close, configure, serialize
public byte[] serialize(java.lang.String topic, java.lang.Double data)
Serializer
data
into a byte array.serialize
in interface Serializer<java.lang.Double>
topic
- topic associated with datadata
- typed data