Code Refactoring 9

Channel:
Subscribers:
1,330,000
Published on ● Video Link: https://www.youtube.com/watch?v=-qp5bMJ96oA



Duration: 13:03
16,427 views
199


Get the Code: http://goo.gl/1vLuN

In this part of my code refactoring tutorial I will cover how to turn an implied tree structure into a composite pattern.

What do you do when you want to model a tree structure? You can either list the info as primitives and then search through them for what you want or you can create objects that represent each level of the tree with the composite pattern.




Other Videos By Derek Banas


2013-02-11Code Refactoring 18
2013-02-09Code Refactoring 17
2013-02-08Code Refactoring 16
2013-02-07Code Refactoring 15
2013-02-03Code Refactoring 14
2013-02-02Code Refactoring 13
2013-01-31Code Refactoring 12
2013-01-29Code Refactoring 11
2013-01-27Don't Starve Game
2013-01-25Code Refactoring 10
2013-01-24Code Refactoring 9
2013-01-23Code Refactoring 8
2013-01-21Install Eclipse for Java
2013-01-19Code Refactoring 7
2013-01-18Code Refactoring 6
2013-01-16Code Refactoring 5
2013-01-13Code Refactoring 4
2013-01-11Code Refactoring 3
2013-01-10Code Refactoring 2
2013-01-06Code Refactoring
2013-01-03Object Oriented Design 11



Tags:
Code Refactoring
composite pattern
java composite pattern
composite pattern example
composite design pattern
composite pattern java
Java (programming Language)
design patterns composite
composite pattern in java