- 1.实现1⃣️继承linkedHashMap,简单快捷
- 2.实现2⃣️ 构建双联表数据结构
- 3.使用hashmap 做数据 存储
- 4.ReentrantLock保证并发安全
- 5.单例模式双重检测进行缓存初始化
-
Notifications
You must be signed in to change notification settings - Fork 0
goodshun/lds-lrucache
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|