Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mydevalias
/
java-design-patterns
Public
forked from
iluwatar/java-design-patterns
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
java-design-patterns
singleton
on
1.7.0
User selector
All users
All time
Commit history
Commits on Oct 14, 2015
Synchronise the list as multiple threads are calling it
Richard Jones
committed
7ab799c
View commit details
Copy full SHA for 7ab799c
View code at this point
Browse repository at this point
Commits on Oct 12, 2015
Update comment
Richard Jones
committed
5d97043
View commit details
Copy full SHA for 5d97043
View code at this point
Browse repository at this point
Update comment
Richard Jones
committed
0d068a3
View commit details
Copy full SHA for 0d068a3
View code at this point
Browse repository at this point
Remove error unit test so pull request can proceed. Will check this at at later date
Richard Jones
committed
31e2940
View commit details
Copy full SHA for 31e2940
View code at this point
Browse repository at this point
Fix unit test by makinig getField use the field name directly
Richard Jones
committed
0107b24
View commit details
Copy full SHA for 0107b24
View code at this point
Browse repository at this point
Add additional unit tests to show that singletons can be created in single thread environment and multithread environment. Also add a test to demonstrate a whole with Singleton when instantiating u…
Show description for 45b0ac3
Richard Jones
committed
45b0ac3
View commit details
Copy full SHA for 45b0ac3
View code at this point
Browse repository at this point
Add additional unit tests to show that singletons can be created in single thread environment and multithread environment. Also add a test to demonstrate a whole with Singleton when instantiating u…
Show description for 6ba7f5e
Richard Jones
committed
6ba7f5e
View commit details
Copy full SHA for 6ba7f5e
View code at this point
Browse repository at this point
Commits on Oct 2, 2015
Added more Singleton documentation #188
iluwatar
committed
6413c4d
View commit details
Copy full SHA for 6413c4d
View code at this point
Browse repository at this point
Commits on Sep 30, 2015
Update version to 1.7.0
iluwatar
committed
11cdd20
View commit details
Copy full SHA for 11cdd20
View code at this point
Browse repository at this point
Commits on Sep 24, 2015
eliminate all warnings of checkstyle.
zafarella
committed
60f9b71
View commit details
Copy full SHA for 60f9b71
View code at this point
Browse repository at this point
checkstyle fixes - docs, indent etc
zafarella
committed
3680953
View commit details
Copy full SHA for 3680953
View code at this point
Browse repository at this point
Commits on Sep 22, 2015
Work on #226, #213, added references of Gang Of Four to all GoF patterns, added tag for Gang Of Four, added difficulty tags to some of them
npathai
committed
b3e4e8a
View commit details
Copy full SHA for b3e4e8a
View code at this point
Browse repository at this point
Commits on Aug 31, 2015
Set project version to 1.6.0.
iluwatar
committed
374d461
View commit details
Copy full SHA for 374d461
View code at this point
Browse repository at this point
Commits on Aug 21, 2015
Merge branch 'javadoc'
iluwatar
committed
cbab406
View commit details
Copy full SHA for cbab406
View code at this point
Browse repository at this point
#107 JavaDoc for Singleton
iluwatar
committed
4bf2e3f
View commit details
Copy full SHA for 4bf2e3f
View code at this point
Browse repository at this point
Commits on Aug 20, 2015
Work on #213
Show description for 5ce932c
Markus
authored and
Markus
committed
5ce932c
View commit details
Copy full SHA for 5ce932c
View code at this point
Browse repository at this point
Commits on Aug 16, 2015
Added categories to all patterns for website
npathai
committed
adbb4ac
View commit details
Copy full SHA for adbb4ac
View code at this point
Browse repository at this point
Commits on Aug 15, 2015
Work towards #56: Add permalink to every pattern
Show description for fdb9be1
Markus
authored and
Markus
committed
fdb9be1
View commit details
Copy full SHA for fdb9be1
View code at this point
Browse repository at this point
Commits on Aug 13, 2015
Work towards #56: Splitting up the README
Show description for fbb12b5
Markus
authored and
Markus
committed
fbb12b5
View commit details
Copy full SHA for fbb12b5
View code at this point
Browse repository at this point
Commits on Jul 22, 2015
Reached milestone 1.5.0
iluwatar
committed
af92d8d
View commit details
Copy full SHA for af92d8d
View code at this point
Browse repository at this point
Commits on Jul 21, 2015
Milestone 1.4.0 achieved
iluwatar
committed
d3642cc
View commit details
Copy full SHA for d3642cc
View code at this point
Browse repository at this point
Commits on Jul 19, 2015
Achieved milestone 1.3.0
iluwatar
committed
4a002d9
View commit details
Copy full SHA for 4a002d9
View code at this point
Browse repository at this point
Commits on Jul 13, 2015
Reached milestone, set version to 1.2.0
iluwatar
committed
a0861c4
View commit details
Copy full SHA for a0861c4
View code at this point
Browse repository at this point
Commits on Jul 9, 2015
#100 Added test case for demonstrating the thread safety issues of a
Show description for 96241f6
iluwatar
committed
96241f6
View commit details
Copy full SHA for 96241f6
View code at this point
Browse repository at this point
Commits on Jun 29, 2015
Set version to 1.1.0
iluwatar
committed
e945f63
View commit details
Copy full SHA for e945f63
View code at this point
Browse repository at this point
Commits on Jun 24, 2015
#92 Set current version to 1.0.0
iluwatar
committed
dc2d845
View commit details
Copy full SHA for dc2d845
View code at this point
Browse repository at this point
Commits on May 31, 2015
Consistent UML model naming across all examples.
iluwatar
committed
5c2e2ff
View commit details
Copy full SHA for 5c2e2ff
View code at this point
Browse repository at this point
Changed package naming across all examples.
iluwatar
committed
8524c75
View commit details
Copy full SHA for 8524c75
View code at this point
Browse repository at this point
Commits on Mar 14, 2015
Update App.java
Show description for 649b14a
mbirkenkamp
committed
649b14a
View commit details
Copy full SHA for 649b14a
View code at this point
Browse repository at this point
Update App.java
Show description for fe625c4
mbirkenkamp
committed
fe625c4
View commit details
Copy full SHA for fe625c4
View code at this point
Browse repository at this point
Commits on Dec 6, 2014
Added unit tests for each of the patterns.
iluwatar
committed
6301e0b
View commit details
Copy full SHA for 6301e0b
View code at this point
Browse repository at this point
Further cleanup of pom.xmls.
iluwatar
committed
9a75cb1
View commit details
Copy full SHA for 9a75cb1
View code at this point
Browse repository at this point
Commits on Dec 5, 2014
Merge branch 'master' of https://github.com/mortezaadi/java-design-patterns into mortezaadi-master
Show description for 5646937
iluwatar
committed
5646937
View commit details
Copy full SHA for 5646937
View code at this point
Browse repository at this point
add some references to class comments
mortezaadi
committed
c06c057
View commit details
Copy full SHA for c06c057
View code at this point
Browse repository at this point
Commits on Dec 4, 2014
Add DCL and Initializing on demand holder idiom.
mortezaadi
committed
dbc1ca7
View commit details
Copy full SHA for dbc1ca7
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.