com.facebook.cache.common.CacheKey |
![]() |
Strongly typed cache key to be used instead of Object.
toString()
, equals(Object)
and hashCode()
methods must be implemented.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
containsUri(Uri uri)
Returns true if this key was constructed from this Uri.
| ||||||||||
abstract boolean |
equals(Object o)
This method must be implemented, otherwise the cache keys will be be compared by reference.
| ||||||||||
abstract int |
hashCode()
This method must be implemented with accordance to the
equals(Object) method. | ||||||||||
abstract String |
toString()
This is useful for instrumentation and debugging purposes.
|
Returns true if this key was constructed from this Uri. Used for cases like deleting all keys for a given uri.
This method must be implemented, otherwise the cache keys will be be compared by reference.
This method must be implemented with accordance to the equals(Object)
method.
This is useful for instrumentation and debugging purposes.