com.nostra13.universalimageloader.cache.memory
Interface MemoryCacheAware<K,V>

All Known Subinterfaces:
MemoryCache
All Known Implementing Classes:
BaseMemoryCache, FIFOLimitedMemoryCache, FuzzyKeyMemoryCache, LargestLimitedMemoryCache, LimitedAgeMemoryCache, LimitedMemoryCache, LRULimitedMemoryCache, LruMemoryCache, UsingFreqLimitedMemoryCache, WeakMemoryCache

Deprecated. Use MemoryCache instead

@Deprecated
public interface MemoryCacheAware<K,V>

Interface for memory cache

Since:
1.0.0
Author:
Sergey Tarasevich (nostra13[at]gmail[dot]com)

Method Summary
 void clear()
          Deprecated. Remove all items from cache
 V get(K key)
          Deprecated. Returns value by key.
 Collection<K> keys()
          Deprecated. Returns all keys of cache
 boolean put(K key, V value)
          Deprecated. Puts value into cache by key
 V remove(K key)
          Deprecated. Removes item by key
 

Method Detail

put

boolean put(K key,
            V value)
Deprecated. 
Puts value into cache by key

Returns:
true - if value was put into cache successfully, false - if value was not put into cache

get

V get(K key)
Deprecated. 
Returns value by key. If there is no value for key then null will be returned.


remove

V remove(K key)
Deprecated. 
Removes item by key


keys

Collection<K> keys()
Deprecated. 
Returns all keys of cache


clear

void clear()
Deprecated. 
Remove all items from cache



Copyright © 2011-2014. All Rights Reserved.