304 Commits

Author SHA1 Message Date
Ilkka Seppälä
e7f806637a Added real world example for Adapter. 2015-02-25 15:56:21 +02:00
Ilkka Seppälä
e30dcbe9e1 Added real world example for Singleton. 2015-02-25 15:52:32 +02:00
Ilkka Seppälä
69e9fb1f5a Added real world example of Prototype. 2015-02-25 15:50:39 +02:00
Ilkka Seppälä
6bab9edf75 Added real world example for Factory Method. 2015-02-25 15:47:24 +02:00
Ilkka Seppälä
f22d4a3610 Added real world example of Builder. 2015-02-24 22:42:19 +02:00
Ilkka Seppälä
d6e6c32980 Added real world example of Abstract Factory. 2015-02-24 22:39:51 +02:00
Ilkka Seppälä
032ab696d5 Added real world example of visitor pattern. 2015-02-22 22:46:48 +02:00
Ilkka Seppälä
926814b20b Added real world example of composite pattern. 2015-02-22 22:40:59 +02:00
Ilkka Seppälä
e01c852ee0 Merge pull request #30 from ruslanpa/master
Makes a few improvements, basically unnecessary declarations, formatting
2015-02-10 19:09:47 +02:00
ruslanpa
33cd28f7cd [refactor] Remove unnecessary declarations in observer pattern. 2015-02-10 10:06:22 +02:00
ruslanpa
14058082bb [refactor] Remove unnecessary declarations in service-locator pattern. 2015-02-10 10:02:44 +02:00
ruslanpa
4b432a79d9 [refactor] Remove unnecessary declarations in servant pattern. 2015-02-10 09:57:22 +02:00
ruslanpa
300c8dfad4 [refactor] Update HairType enum in builder pattern. 2015-02-10 09:49:33 +02:00
ruslanpa
8980b3958c [refactor] Extends Action enum in mediator pattern. 2015-02-10 09:48:22 +02:00
ruslanpa
04992483a1 [refactor] Separate out one method to call actions for workers. 2015-02-10 09:33:03 +02:00
ruslanpa
0fbb4f4003 [refactor] Remove unnecessary declarations in command pattern. 2015-02-10 09:23:59 +02:00
Ilkka Seppälä
c7a4a85213 Merge pull request #29 from ruslanpa/master
[refactor] Makes enums more readable.
2015-02-10 07:03:48 +02:00
ruslanpa
6da9686a50 [refactor] Update StarType enum in memento pattern. 2015-02-09 22:19:38 +02:00
ruslanpa
5b81a88d84 [refactor] Update Action enum in mediator pattern. 2015-02-09 21:59:12 +02:00
ruslanpa
c23f58e86f [refactor] Update flyweight pattern. 2015-02-09 21:54:54 +02:00
ruslanpa
eb9b5fdd1b [refactor] Update WeaponType enum in factory-method pattern. 2015-02-09 21:52:39 +02:00
ruslanpa
bd4cecd305 [refactor] Update Armor enum in builder pattern. 2015-02-09 21:47:50 +02:00
Ilkka Seppala
67c112535c Rename pattern relationships image. 2015-02-08 21:33:21 +02:00
Ilkka Seppälä
5a7a4fca4c Delete design_pattern_relationship.gif 2015-02-08 21:31:05 +02:00
ruslanpa
6f59f25154 [refactor] Makes enums more readable. 2015-02-06 12:48:28 +02:00
Ilkka Seppala
6e49fc01ab Improved comments on visitor pattern example. 2015-01-24 23:43:35 +02:00
Ilkka Seppala
b12243b94c Improved code comments for template method example. 2015-01-16 08:52:30 +02:00
Ilkka Seppala
991653062d Improved comments for strategy pattern sample. 2015-01-13 08:20:27 +02:00
Ilkka Seppala
27a27594f4 Improved comments for state pattern. 2015-01-08 20:30:10 +02:00
Ilkka Seppala
742f8376b3 Improved comments for mediator example. 2015-01-07 21:19:28 +02:00
Ilkka Seppala
22ca6fef60 Improved Command pattern code comments. 2014-12-27 11:11:54 +02:00
Ilkka Seppala
74b43303e3 Improved Flyweight example comments. 2014-12-26 10:09:53 +02:00
Ilkka Seppälä
57cef65eb4 Added Servant pattern source to the Credits section. 2014-12-18 14:59:18 +02:00
Ilkka Seppala
6301e0bc11 Added unit tests for each of the patterns. 2014-12-06 20:34:41 +02:00
Ilkka Seppala
2be1ced00a Improved comments for the facade example. 2014-12-06 14:43:40 +02:00
Ilkka Seppala
9336284814 Improved decorator example. 2014-12-06 14:35:18 +02:00
Ilkka Seppala
10d4e3cadd Improved comments for decorator example. 2014-12-06 14:29:31 +02:00
Ilkka Seppala
9a75cb11c3 Further cleanup of pom.xmls. 2014-12-06 14:19:37 +02:00
Ilkka Seppala
c312fce43b Fixed package name and some spelling mistakes. 2014-12-06 13:59:41 +02:00
Ilkka Seppala
3ef1613fa6 Merge branch 'MSaifAsif-master' 2014-12-06 13:50:13 +02:00
Ilkka Seppala
5d142fbcfe Merge branch 'master' of https://github.com/MSaifAsif/java-design-patterns into MSaifAsif-master 2014-12-06 13:46:36 +02:00
M Saif Asif
6318d76d9f Update README.md
Code review compliance
2014-12-06 16:19:17 +05:00
M Saif Asif
85ba6e3dfe Update README.md 2014-12-06 02:55:26 +05:00
M Saif Asif
112c719ee7 Update README.md
Added service locator information
2014-12-06 02:53:19 +05:00
MSaifAsif
1cb62f543b Implementatation of the Service locator pattern 2014-12-06 02:39:54 +05:00
Ilkka Seppala
2939d139fc Merge branch 'mortezaadi-master' 2014-12-05 23:00:17 +02:00
Ilkka Seppala
5646937d52 Merge branch 'master' of https://github.com/mortezaadi/java-design-patterns into mortezaadi-master
Conflicts:
	singleton/src/main/java/com/iluwatar/App.java
2014-12-05 22:58:09 +02:00
mortezaadi
c06c05757e add some references to class comments 2014-12-05 11:59:41 +03:30
mortezaadi
dbc1ca7aeb Add DCL and Initializing on demand holder idiom. 2014-12-05 00:02:50 +03:30
Ilkka Seppälä
3e42a10060 Update README.md 2014-12-02 20:32:31 +02:00