| Package | Description | 
|---|---|
| cn.trinea.android.common.entity | |
| cn.trinea.android.common.service | |
| cn.trinea.android.common.service.impl | 
| Modifier and Type | Method and Description | 
|---|---|
| int | CacheObject. compareTo(CacheObject<V> o)compare with data | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheObject<V> | Cache. get(K key)get object | 
| CacheObject<V> | Cache. put(K key,
   CacheObject<V> value)put object | 
| CacheObject<V> | Cache. put(K key,
   V value)put object | 
| CacheObject<V> | Cache. remove(K key)remove object | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Set<java.util.Map.Entry<K,CacheObject<V>>> | Cache. entrySet()key value set | 
| java.util.Collection<CacheObject<V>> | Cache. values()value set | 
| Modifier and Type | Method and Description | 
|---|---|
| int | CacheFullRemoveType. compare(CacheObject<V> obj1,
       CacheObject<V> obj2)compare object  About result if obj1 > obj2, return 1 if obj1 = obj2, return 0 if obj1 < obj2, return -1 | 
| int | CacheFullRemoveType. compare(CacheObject<V> obj1,
       CacheObject<V> obj2)compare object  About result if obj1 > obj2, return 1 if obj1 = obj2, return 0 if obj1 < obj2, return -1 | 
| CacheObject<V> | Cache. put(K key,
   CacheObject<V> value)put object | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheObject<V> | SimpleCache. get(K key)get element | 
| CacheObject<V> | PreloadDataCache. get(K key)get data synchronous
 
 if key is null, return null, else
 if key is already in cache, return the element that mapping with the specified key, else
 call  PreloadDataCache.OnGetDataListener.onGetData(Object)to get data and wait for it finish | 
| CacheObject<V> | PreloadDataCache. get(K key,
   java.util.List<K> keyList)get data synchronous and preload new data asynchronous according to keyList | 
| CacheObject<V> | PreloadDataCache.OnGetDataListener. onGetData(K key)get data | 
| CacheObject<V> | SimpleCache. put(K key,
   CacheObject<V> value)put element, key and value both not allowed to be null | 
| CacheObject<V> | SimpleCache. put(K key,
   V value)put element, key not allowed to be null | 
| CacheObject<V> | SimpleCache. remove(K key)remove the specified key from cache, key not allowed to be null | 
| CacheObject<java.lang.String> | ImageSDCardCache. remove(java.lang.String key)delete file when remove | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Set<java.util.Map.Entry<K,CacheObject<V>>> | SimpleCache. entrySet() | 
| java.util.Collection<CacheObject<V>> | SimpleCache. values() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | RemoveTypeBitmapSmall. compare(CacheObject<Bitmap> obj1,
       CacheObject<Bitmap> obj2) | 
| int | RemoveTypeBitmapSmall. compare(CacheObject<Bitmap> obj1,
       CacheObject<Bitmap> obj2) | 
| int | RemoveTypeBitmapLarge. compare(CacheObject<Bitmap> obj1,
       CacheObject<Bitmap> obj2) | 
| int | RemoveTypeBitmapLarge. compare(CacheObject<Bitmap> obj1,
       CacheObject<Bitmap> obj2) | 
| int | RemoveTypeFileSmall. compare(CacheObject<java.lang.String> obj1,
       CacheObject<java.lang.String> obj2) | 
| int | RemoveTypeFileSmall. compare(CacheObject<java.lang.String> obj1,
       CacheObject<java.lang.String> obj2) | 
| int | RemoveTypeFileLarge. compare(CacheObject<java.lang.String> obj1,
       CacheObject<java.lang.String> obj2) | 
| int | RemoveTypeFileLarge. compare(CacheObject<java.lang.String> obj1,
       CacheObject<java.lang.String> obj2) | 
| int | RemoveTypeUsedCountSmall. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeUsedCountSmall. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeUsedCountBig. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeUsedCountBig. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypePriorityLow. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypePriorityLow. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypePriorityHigh. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypePriorityHigh. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeNotRemove. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeNotRemove. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeLastUsedTimeLast. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeLastUsedTimeLast. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeLastUsedTimeFirst. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeLastUsedTimeFirst. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeEnterTimeLast. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeEnterTimeLast. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeEnterTimeFirst. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeEnterTimeFirst. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeDataSmall. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeDataSmall. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeDataBig. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| int | RemoveTypeDataBig. compare(CacheObject<T> obj1,
       CacheObject<T> obj2) | 
| CacheObject<V> | SimpleCache. put(K key,
   CacheObject<V> value)put element, key and value both not allowed to be null |