Commit Graph

46 Commits

Author SHA1 Message Date
374d4617d5 Set project version to 1.6.0. 2015-08-31 23:03:00 +03:00
cbab406e47 Merge branch 'javadoc' 2015-08-21 23:29:48 +03:00
4bf2e3f16d #107 JavaDoc for Singleton 2015-08-21 23:09:51 +03:00
5ce932ceb7 Work on #213
- properly categorize all patterns
- remove pattern list from readme
- minor fixes to readme
- removed "introduction" because its not a pattern and an error i
committed some time ago
2015-08-20 21:40:07 +02:00
adbb4ac4de Added categories to all patterns for website 2015-08-16 17:07:36 +05:30
fdb9be1e76 Work towards #56: Add permalink to every pattern
This makes cleaner URLs thanks to jekyll
2015-08-15 18:03:05 +02:00
fbb12b53ba Work towards #56: Splitting up the README
I did the job and splitted up the readme, hopefully everything was
splitted correctly...
2015-08-13 23:54:40 +02:00
af92d8dde5 Reached milestone 1.5.0 2015-07-23 00:59:51 +03:00
d3642cc94c Milestone 1.4.0 achieved 2015-07-22 01:26:48 +03:00
4a002d9a88 Achieved milestone 1.3.0 2015-07-19 14:28:45 +03:00
a0861c47e1 Reached milestone, set version to 1.2.0 2015-07-14 00:10:01 +03:00
96241f63d2 #100 Added test case for demonstrating the thread safety issues of a
naive lazy loaded Singleton implementation.
2015-07-09 10:36:33 +03:00
e945f632b0 Set version to 1.1.0 2015-06-29 22:26:50 +03:00
dc2d8453cd #92 Set current version to 1.0.0 2015-06-24 20:12:47 +03:00
5c2e2ff7fb Consistent UML model naming across all examples. 2015-05-31 12:59:30 +03:00
8524c75ba6 Changed package naming across all examples. 2015-05-31 11:55:18 +03:00
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
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
6301e0bc11 Added unit tests for each of the patterns. 2014-12-06 20:34:41 +02:00
9a75cb11c3 Further cleanup of pom.xmls. 2014-12-06 14:19:37 +02:00
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
c06c05757e add some references to class comments 2014-12-05 11:59:41 +03:30
dbc1ca7aeb Add DCL and Initializing on demand holder idiom. 2014-12-05 00:02:50 +03:30
710d31b2a2 Cleanup of poms. 2014-11-26 23:03:04 +02:00
470f3d2460 Added comments to singleton app. 2014-11-26 22:47:44 +02:00
34bc1de713 Added comments to lazily initialized singleton implementation. 2014-11-26 22:45:47 +02:00
0ad5fbfc5c Added comment to eagerly initialized singleton implementation. 2014-11-26 22:43:08 +02:00
baf177a81e Added book reference to singleton enum implementation. 2014-11-26 22:41:44 +02:00
11a89f85a8 move the SO question URL 2014-11-26 09:15:40 +08:00
16ac983053 change comment 2014-11-25 16:24:32 +08:00
3f2cb22478 remove the getInstance method 2014-11-25 16:10:17 +08:00
406d2e7081 simplified the println 2014-11-24 18:01:44 +08:00
13abf49024 enum approach of singleton 2014-11-24 17:35:52 +08:00
862fd39d11 #12 Added private constructor to ThreadSafeLazyLoadedIvoryTower. 2014-11-05 21:28:48 +02:00
80e8fef5c9 add editable diagram files
(you need to install objectaid eclipse plugin to view that)
2014-11-03 08:47:03 +08:00
bbfe3f6207 add rest of class diagrams 2014-10-31 13:31:41 +08:00
5687976a91 Thread-safe Singleton class
New Singleton class name has renamed to ThreadSafeLazyLoadedIvoryTower
and called it from App.java
2014-10-13 22:15:45 -07:00
cffe592c9c New Singleton class
Thread-safe and lazy loading.
2014-10-13 13:24:18 -07:00
3da9ad5469 Formatted all files to the same standard 2014-10-08 13:42:12 +01:00
bde5b343d0 Just formatting App classes to be like the other class files on the project 2014-10-07 16:23:37 +01:00
d6aed142a7 removed the lazy instantiation from singleton to avoid threading
problems.
2014-09-07 21:21:24 +01:00
3d55749042 Update IvoryTower.java
fixed the issue with class creation.
2014-09-07 00:44:32 +01:00
0509e48d37 Update IvoryTower.java 2014-09-06 23:54:25 +01:00
54b414acb1 Commented singleton example. 2014-08-31 08:42:01 +03:00
7f3c311ebe added singleton class diagram 2014-08-24 10:07:22 +03:00
72415386fe added singleton sample 2014-08-11 21:43:08 +03:00