public Y remove(T key) {
        final Y value = cache.remove(key);
        if (value != null) {
            currentSize -= getSize(value);
        }
        return value;
    }
Removes the item at the given key and returns the removed item if present, and null otherwise.

@param key The key to remove the item at.
core/src/main/java/com/bumptech/glide/util/LruCache.java