Searched refs:ICache (Results 1 – 6 of 6) sorted by relevance
19 internal class CacheImpl : ICache {30 override fun backup(): ICache.Backup { in backup()31 return ICache.Backup(cache.toMutableMap()) in backup()34 override fun restore(backup: ICache.Backup) { in restore()
19 class NoCache : ICache {26 override fun backup(): ICache.Backup { in backup()30 override fun restore(backup: ICache.Backup) { in restore()
23 fun setCache(cache: ICache) = apply { Cache = cache } in <lambda>()
19 interface ICache { interface
30 var Cache: ICache = CacheImpl()
20 import android.tools.ICache25 private var cacheBackup: ICache.Backup? = null