You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo consists Gang of Four Design patterns code on Java 9. Each branch in the repository has code of 1 design pattern. Switch repository to try out different design patterns.
1
+
# What is Flyweight Design Pattern
2
+
Flyweight pattern tries to reuse already existing similar kind objects by storing them and creates new object when no matching object is found. Flyweight pattern is used to reduce the number of objects created and to decrease memory footprint and increase performance.
Flyweight pattern is used when we need to create a large number of similar objects (which are immutable). This reduces memory foot print and keeps app awary from java.lang.OutOfMemoryError.
13
+
14
+
### Learn Design Patterns with Java by Aseem Jain
15
+
This repository contains working project code used in video Course by Packt Publication with title "Learn Design Patterns with Java " authored by "Aseem Jain".
0 commit comments