boolean function ( Object arg0 ) { return cache . containsKey ( arg0 ) || ( isDiskCacheEnabled && getFileForKey ( ( KeyT ) arg0 ) . exists ( ) ) ; }
checks if a value is present in the cache . if the disk cached is enabled , this will also check whether the value has been persisted to disk . concode_field_sep ConcurrentMap<KeyT,ValT> cache concode_elem_sep long expirationInMinutes concode_elem_sep int DISK_CACHE_SDCARD concode_elem_sep String diskCacheDirectory concode_elem_sep int DISK_CACHE_INTERNAL concode_elem_sep String name concode_elem_sep boolean isDiskCacheEnabled concode_elem_sep String LOG_TAG concode_field_sep boolean enableDiskCache concode_elem_sep void writeValueToDisk concode_elem_sep void cacheToDisk concode_elem_sep Set<Map.Entry<KeyT,ValT>> entrySet concode_elem_sep File getFileForKey concode_elem_sep Collection<ValT> values concode_elem_sep String getDiskCacheDirectory concode_elem_sep boolean isEmpty concode_elem_sep void clear concode_elem_sep void setRootDir concode_elem_sep boolean containsKeyInMemory concode_elem_sep ValT put concode_elem_sep boolean containsValue concode_elem_sep ValT remove concode_elem_sep void setDiskCacheEnabled concode_elem_sep void sanitizeDiskCache concode_elem_sep ValT removeKey concode_elem_sep int size concode_elem_sep ValT get concode_elem_sep void putAll concode_elem_sep ValT readValueFromDisk concode_elem_sep boolean isDiskCacheEnabled concode_elem_sep String getFileNameForKey concode_elem_sep Set<KeyT> keySet