|
-
December 10th, 2008, 07:02 AM
#1
Facade Pattern
http://www.allapplabs.com/java_desig...de_pattern.htm
Code:
package structural.facade;
public class FinishedGoodsStore implements Store {
public Goods getGoods() {
FinishedGoods finishedGoods = new FinishedGoods();
return finishedGoods;
}
}// End of class
What is finishedgoods here?
if it is a class,Why it doesn't define in that page:
http://www.allapplabs.com/java_desig...de_pattern.htm
Please explain about facade pattern by an simply example thanks
-
December 10th, 2008, 08:27 AM
#2
Re: Facade Pattern
finishedgoods here is just a class in that implements Goods interface as explained in the article. The author of the article did not show the code of this class because it does not matter in the context of explaining the pattern itself.
check this Wikipedia article. It may help.
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
|