|
-
December 24th, 2008, 03:22 PM
#1
Flyweight Pattern
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|