com.bumptech.glide.load.engine.cache
Class StringKey
java.lang.Object
com.bumptech.glide.load.engine.cache.StringKey
- All Implemented Interfaces:
- Key
public class StringKey
- extends Object
- implements Key
A Key
that wraps a single String
.
StringKey
public StringKey(String key)
equals
public boolean equals(Object o)
- Description copied from interface:
Key
-
- Specified by:
equals
in interface Key
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Description copied from interface:
Key
-
- Specified by:
hashCode
in interface Key
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
updateDiskCacheKey
public void updateDiskCacheKey(MessageDigest messageDigest)
throws UnsupportedEncodingException
- Description copied from interface:
Key
- Adds all uniquely identifying information to the given digest.
- Specified by:
updateDiskCacheKey
in interface Key
- Throws:
UnsupportedEncodingException