com.h3c.util.persistence.cassandra.entitymgr.wal

## Class ObjectSerDes<T>

- java.lang.Object
- - com.h3c.util.persistence.cassandra.entitymgr.wal.ObjectSerDes<T>

- Type Parameters:
    `T` - Type of the Object for serialization

      public class ObjectSerDes<T>
      extends Object

  Utility to serialize and de-serialize an object.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ObjectSerDes()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `deSerialize(byte[] serData)` Provides functionality to de-serialize an object.
    `byte[]` | `serialize(T deSerData)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ObjectSerDes

          public ObjectSerDes()

  - ### Method Detail

    - #### serialize

          public byte[] serialize(T deSerData)

      Parameters:
        `deSerData` - Data that needs to be serialized
      Returns:
        byte array

    - #### deSerialize

          public T deSerialize(byte[] serData)

      Provides functionality to de-serialize an object.
      Parameters:
        `serData` - an object that needs to be deserializ'ed
      Returns:
        T Deserializ'ed object

Copyright © 2014. All Rights Reserved.