Interface Key

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.nio.charset.Charset CHARSET  
      static java.lang.String STRING_CHARSET_NAME  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      For caching to work correctly, implementations must implement this method and hashCode().
      int hashCode()
      For caching to work correctly, implementations must implement this method and equals(Object).
      void updateDiskCacheKey​(java.security.MessageDigest messageDigest)
      Adds all uniquely identifying information to the given digest.
    • Field Detail

      • CHARSET

        static final java.nio.charset.Charset CHARSET
    • Method Detail

      • updateDiskCacheKey

        void updateDiskCacheKey​(@NonNull
                                java.security.MessageDigest messageDigest)
        Adds all uniquely identifying information to the given digest.

        Note - Using MessageDigest.reset() inside of this method will result in undefined behavior.

      • equals

        boolean equals​(java.lang.Object o)
        For caching to work correctly, implementations must implement this method and hashCode().
        Overrides:
        equals in class java.lang.Object
      • hashCode

        int hashCode()
        For caching to work correctly, implementations must implement this method and equals(Object).
        Overrides:
        hashCode in class java.lang.Object