Collection of Design Patterns and best practices for Java.
Strategy: Observer: Java built in Observer use, note that you can choose between pull and push strategies. Decorator: For examples see LineNumberInputStream decorates BufferedInputStream decorates FileInputStream Command. Composite. Iterator. State. Problem, all transitions are in all States.
Patterns that won't be added Adapter. Converts one interface to another. Facade. Makes an interface simpler. Template. Defines common behavior on an Abstract class with a final method. Subclasses can have it's own primitives. Hooks with default behavior can be defined in the Abstract class and redefined if needed on the children.
ToDo:
Factory. Abstract Factory. Command. Add undo, add null object. Description and uses of patterns. Composite pattern. Add real tests. State pattern. Add real tests.