com.bumptech.glide.load
Interface Key

All Known Implementing Classes:
StringKey

public interface Key

A very generic interface that must implement Object.equals(Object) and Object.hashCode() to include a set of uniquely identifying information for the object(s) represented by this key. Keys are used as cache keys so they must be unique within a given dataset.


Method Summary
 boolean equals(Object o)
          
 int hashCode()
          
 void updateDiskCacheKey(MessageDigest messageDigest)
          Adds all uniquely identifying information to the given digest.
 

Method Detail

updateDiskCacheKey

void updateDiskCacheKey(MessageDigest messageDigest)
                        throws UnsupportedEncodingException
Adds all uniquely identifying information to the given digest.

Throws:
UnsupportedEncodingException

equals

boolean equals(Object o)

Overrides:
equals in class Object

hashCode

int hashCode()

Overrides:
hashCode in class Object