Use headings instead of bold text in index.md #238
This commit is contained in:
@ -11,12 +11,14 @@ tags:
|
||||
- Performance
|
||||
---
|
||||
|
||||
**Intent:** Use sharing to support large numbers of fine-grained objects
|
||||
## Intent
|
||||
Use sharing to support large numbers of fine-grained objects
|
||||
efficiently.
|
||||
|
||||

|
||||
|
||||
**Applicability:** The Flyweight pattern's effectiveness depends heavily on how
|
||||
## Applicability
|
||||
The Flyweight pattern's effectiveness depends heavily on how
|
||||
and where it's used. Apply the Flyweight pattern when all of the following are
|
||||
true
|
||||
|
||||
@ -26,10 +28,10 @@ true
|
||||
* many groups of objects may be replaced by relatively few shared objects once extrinsic state is removed
|
||||
* the application doesn't depend on object identity. Since flyweight objects may be shared, identity tests will return true for conceptually distinct objects.
|
||||
|
||||
**Real world examples:**
|
||||
## Real world examples
|
||||
|
||||
* [java.lang.Integer#valueOf(int)](http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html#valueOf%28int%29)
|
||||
|
||||
**Credits**
|
||||
## Credits
|
||||
|
||||
* [Design Patterns: Elements of Reusable Object-Oriented Software](http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612)
|
||||
|
Reference in New Issue
Block a user