Commit Graph

992 Commits

Author SHA1 Message Date
Ilkka Seppala b2619e4d7a Merge branch 'master' of https://github.com/vehpsr/java-design-patterns into vehpsr-master
Conflicts:
	README.md
2015-03-29 22:11:43 +03:00
Ilkka Seppala 911a3505b2 Added book reference. 2015-03-29 22:03:07 +03:00
Ilkka Seppälä 1fc15829ad Fixed link. 2015-03-29 21:44:05 +03:00
Ilkka Seppälä 36482d5b7c Added description for Execute Around. 2015-03-29 21:41:41 +03:00
Ilkka Seppala 12bc65adc0 Added class diagram for Execute Around idiom. 2015-03-29 21:26:18 +03:00
Ilkka Seppala 027fd9934b Added example code for Execute Around idiom. 2015-03-29 21:25:13 +03:00
vehpsr 15adc6751e Callback pattern: added real world example 2015-03-27 17:38:10 +02:00
vehpsr 9312059f19 Callback pattern description amendment 2015-03-27 11:13:29 +02:00
Ilkka Seppälä eee2160435 Merge pull request #36 from vehpsr/master
added Callback pattern
2015-03-27 07:43:08 +02:00
vehpsr bf2df42c55 added Callback pattern 2015-03-26 22:47:04 +02:00
Ilkka Seppälä 33362d60ad Update .travis.yml 2015-03-23 22:54:36 +02:00
Ilkka Seppala ca59c97510 Improved Hero#toString. 2015-03-23 21:49:18 +02:00
Ilkka Seppala 62b871774a Fixes HeroBuilder NullPointerException #35. 2015-03-23 21:46:51 +02:00
Ilkka Seppälä dd855a376b Added anchors to frequently asked questions. 2015-03-21 15:41:33 +02:00
Ilkka Seppälä 92db946824 Added real world example for Builder. 2015-03-20 22:51:49 +02:00
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