Class Crc32HashStrategy

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String STRATEGY_NAME
      name (key) of this strategy
    • Constructor Summary

      Constructors 
      Constructor Description
      Crc32HashStrategy()
      Creates new hash strategy instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String computeHash​(java.lang.String text)
      Concrete STRATEGY instances return a hash for the given text.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • computeHash

        public java.lang.String computeHash​(java.lang.String text)
        Description copied from class: HashStrategy
        Concrete STRATEGY instances return a hash for the given text.
        Specified by:
        computeHash in class HashStrategy
        Parameters:
        text - string a hash shall be computed for
        Returns:
        hash string