This website works better with JavaScript.
Explore
Help
Register
Sign In
liangqi
/
pattern
Watch
1
Star
0
Fork
You've already forked pattern
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
设计模式(java源码实现)
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.
81
Commits
1
Branch
0
Tags
208 KiB
Java
100%
Tag:
Branch:
Tree:
359c6d07b6
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '359c6d07b6'
${ noResults }
pattern
/
pattern-flyweight
/
README.md
192 B
Raw
Blame
History
享元模式: 简介:共享对象,避免浪费 使用内存大的就是"重"对象 使用内存小的就是"轻"对象
通过尽量共享实例来避免new 出实例