8000 GitHub - voidance/java-practices: Collection of Design Patterns and best practices for Java.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

voidance/java-practices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-practices

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.

About

Collection of Design Patterns and best practices for Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0