Package 

Class ObjectKey

  • All Implemented Interfaces:
    com.mobwith.imgmodule.load.Key

    
    public final class ObjectKey
     implements Key
                        

    Wraps an Object, delegating equals and hashCode to the wrapped Object and providing the bytes of the result of the Object's toString method to the MessageDigest in .

    The Object's toString method must be unique and suitable for use as a disk cache key.

    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectKey(Object object)
    • Method Summary

      Modifier and Type Method Description
      String toString()
      boolean equals(Object o)
      int hashCode()
      void updateDiskCacheKey(@NonNull() MessageDigest messageDigest) Adds all uniquely identifying information to the given digest.
      • Methods inherited from class java.lang.Object

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