public interface IdenticonCache| Modifier and Type | Method and Description |
|---|---|
void | add(String key,
byte[] imageData)Adds image data to the cache. |
byte[] | get(String key)Retrieves cached image data for the given key. |
void | remove(String key)Removes cached image data for the given key. |
void | removeAll()Removes all entries from the cache. |
void add(String key, byte[] imageData)
key - the cache keyimageData - the image data to cachebyte[] get(String key)
key - the cache keyvoid remove(String key)
key - the cache keyvoid removeAll()