Interface KeySerializer<K>

Type Parameters:
K - a key object type
All Known Implementing Classes:
DefaultKeySerializer

public interface KeySerializer<K>
Interface specifies the logic for key object serialization
  • Method Summary

    Modifier and Type
    Method
    Description
    toString(K key)
    Transforms the key object to the string
  • Method Details

    • toString

      String toString(K key)
      Transforms the key object to the string
      Parameters:
      key - a key object
      Returns:
      a serialized representation of the key as a string