Hi!

Please explain about Flyweight Pattern

From this site:http://www.allapplabs.com/java_desig...ht_pattern.htm


The typical example you can see on this in every book will be of folders. The folder with name of each of the company employee on it, so, the attributes of class Folder are: ‘Selected’ , ‘Not Selected’ and the third one is ‘employeeName’. With this methodology, we will have to create 2000 folder class instances for each of the employees.

I cann't understand this example..May you someone expalin more about that