This website works better with JavaScript.
Explore
Help
Register
Sign In
old-tom
/
obsidian-sync
Watch
1
Star
0
Fork
You've already forked obsidian-sync
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
b2a9be5667
master
main
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'b2a9be5667'
${ noResults }
obsidian-sync
/
日常学习
/
设计模式
/
单例.md
325 B
Raw
Blame
History
介绍
单例模式主要解决的是,一个全局使用的类频繁的创建和消费,从而提升整体的代码性能
数据库连接池
spring bean单例
代码中的全局属性保存
代码例子
内部类单例 !
枚举单例 !