從快取中獲取點陣圖(Resouce)

要從快取中獲取資源,只需傳遞資源的金鑰(本例中為 String)

public Bitmap getResourceFromMemoryCache(String key) {
    memoryCache.get(key);
}