3.9. State 3.9.1. Purpose 3.9.2. UML Diagram 3.9.3. Code 3.9.4. Test 3.9. State 3.9.1. Purpose Encapsulate varying behavior for the same routine based on an object’sstate...
3.6. Null Object 3.6.1. Purpose 3.6.2. Examples 3.6.3. UML Diagram 3.6.4. Code 3.6.5. Test 3.6. Null Object 3.6.1. Purpose NullObject is not a GoF design pattern but a s...
2.5. Decorator 2.5.1. Purpose 2.5.2. Examples 2.5.3. UML Diagram 2.5.4. Code 2.5.5. Test 2.5. Decorator 2.5.1. Purpose To dynamically add new functionality to class inst...