Class EmptySignature

java.lang.Object
com.bumptech.glide.signature.EmptySignature
All Implemented Interfaces:
Key

public final class EmptySignature extends Object implements Key
An empty key that is always equal to all other empty keys.
  • Method Details

    • obtain

      @NonNull public static EmptySignature obtain()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • updateDiskCacheKey

      public void updateDiskCacheKey(@NonNull MessageDigest messageDigest)
      Description copied from interface: Key
      Adds all uniquely identifying information to the given digest.

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

      Specified by:
      updateDiskCacheKey in interface Key