327 Commits

Author SHA1 Message Date
Ilkka Seppälä
fff7bbdec2 Update README.md 2015-03-17 17:41:21 +02:00
Ilkka Seppälä
861cac1673 Update README.md 2015-03-17 17:40:29 +02:00
Ilkka Seppälä
ad51931061 Added descriptions for patterns categories. 2015-03-16 11:55:42 +02:00
Ilkka Seppälä
692400d197 Update README.md 2015-03-16 11:47:28 +02:00
Ilkka Seppälä
1e7b40ce77 Organized uncategorized patterns. 2015-03-16 11:44:57 +02:00
Ilkka Seppälä
c7e500fde2 Merge pull request #31 from mbirkenkamp/patch-1
Update App.java
2015-03-14 21:07:18 +02:00
mbirkenkamp
649b14adf6 Update App.java
additional explanation about the risks of using the singleton pattern, as requested by @iluwatar
2015-03-14 16:59:02 +01:00
mbirkenkamp
fe625c45be Update App.java
it is important to note that the singleton pattern is inherently unsafe for distributed environments, since the initialization state is not mirrored across different instances of the java vm
2015-03-14 13:48:02 +01:00
Ilkka Seppälä
6367335ff2 Appended Mr. Fowler to credits section. 2015-03-13 22:07:24 +02:00
Ilkka Seppälä
919a98dc13 Added Event Aggregator pattern description. 2015-03-13 22:04:59 +02:00
Ilkka Seppala
ca59792916 Added event aggregator pattern. 2015-03-13 21:59:24 +02:00
Ilkka Seppälä
c5a02266c8 Updated Null Object description and added one book reference. 2015-03-08 22:07:45 +02:00
Ilkka Seppälä
1cd0cb8997 Added Null Object pattern description. 2015-03-04 23:05:55 +02:00
Ilkka Seppala
1cad280629 Added Null Object pattern. 2015-03-04 22:59:42 +02:00
Ilkka Seppälä
eb43f6efc3 Changed the real world examples to point to Java 8 documentation. 2015-02-26 22:50:48 +02:00
Ilkka Seppälä
420491429f Added real world example for Observer. 2015-02-25 21:07:40 +02:00
Ilkka Seppälä
d94cb0e243 Added real world example for Memento. 2015-02-25 21:04:31 +02:00
Ilkka Seppälä
87672c67fb Added real world example for Iterator. 2015-02-25 20:52:54 +02:00
Ilkka Seppälä
0ad681831b Added real world example for Command. 2015-02-25 16:37:29 +02:00
Ilkka Seppälä
eef54b41bf Added real world example for Chain of Responsibility. 2015-02-25 16:31:52 +02:00
Ilkka Seppälä
8d3131e7c6 Added real world example for Proxy. 2015-02-25 16:27:19 +02:00
Ilkka Seppälä
599e6cdeb2 Added real world example for Flyweight. 2015-02-25 16:22:37 +02:00
Ilkka Seppälä
093fc1f824 Added real world example for Composite. 2015-02-25 16:13:27 +02:00
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