Interface Serializer<T>

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultStateSerializer

public interface Serializer<T> extends Serializable
Interface to be implemented for serlializing and de-serializing the state.
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(byte[] b)
     
    byte[]
    serialize(T obj)
     
  • Method Details

    • serialize

      byte[] serialize(T obj)
    • deserialize

      T deserialize(byte[] b)