Class HashStore


  • public class HashStore
    extends java.lang.Object
    A synchronized string hash code mapping store.
    Associates a string with a given string-hash.
    • Constructor Summary

      Constructors 
      Constructor Description
      HashStore()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String hash​(java.lang.String string)  
      java.lang.String lookup​(java.lang.String hash)  
      void put​(java.lang.String string, java.lang.String hash)  
      • Methods inherited from class java.lang.Object

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

      • HashStore

        public HashStore()
    • Method Detail

      • put

        public void put​(java.lang.String string,
                        java.lang.String hash)
      • hash

        public java.lang.String hash​(java.lang.String string)
      • lookup

        public java.lang.String lookup​(java.lang.String hash)