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
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
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 }}
KNU-System-Software
Java-Design-Patterns
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
Java-Design-Patterns
singleton
on
master
User selector
All users
Datepicker
All time
Commit history
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
Commits on Nov 26, 2014
Cleanup of poms.
iluwatar
committed
710d31b
View commit details
Copy full SHA for 710d31b
View code at this point
Browse repository at this point
Added comments to singleton app.
iluwatar
committed
470f3d2
View commit details
Copy full SHA for 470f3d2
View code at this point
Browse repository at this point
Added comments to lazily initialized singleton implementation.
iluwatar
committed
34bc1de
View commit details
Copy full SHA for 34bc1de
View code at this point
Browse repository at this point
Added comment to eagerly initialized singleton implementation.
iluwatar
committed
0ad5fbf
View commit details
Copy full SHA for 0ad5fbf
View code at this point
Browse repository at this point
Added book reference to singleton enum implementation.
iluwatar
committed
baf177a
View commit details
Copy full SHA for baf177a
View code at this point
Browse repository at this point
move the SO question URL
Alwayswithme
committed
11a89f8
View commit details
Copy full SHA for 11a89f8
View code at this point
Browse repository at this point
Commits on Nov 25, 2014
change comment
Alwayswithme
committed
16ac983
View commit details
Copy full SHA for 16ac983
View code at this point
Browse repository at this point
remove the getInstance method
Alwayswithme
committed
3f2cb22
View commit details
Copy full SHA for 3f2cb22
View code at this point
Browse repository at this point
Commits on Nov 24, 2014
simplified the println
Alwayswithme
committed
406d2e7
View commit details
Copy full SHA for 406d2e7
View code at this point
Browse repository at this point
enum approach of singleton
yejinchang
committed
13abf49
View commit details
Copy full SHA for 13abf49
View code at this point
Browse repository at this point
Commits on Nov 5, 2014
#12 Added private constructor to ThreadSafeLazyLoadedIvoryTower.
iluwatar
committed
862fd39
View commit details
Copy full SHA for 862fd39
View code at this point
Browse repository at this point
Commits on Nov 3, 2014
add editable diagram files
Show description for 80e8fef
llitfkitfk
committed
80e8fef
View commit details
Copy full SHA for 80e8fef
View code at this point
Browse repository at this point
Commits on Oct 31, 2014
add rest of class diagrams
llitfkitfk
committed
bbfe3f6
View commit details
Copy full SHA for bbfe3f6
View code at this point
Browse repository at this point
Commits on Oct 14, 2014
Thread-safe Singleton class
Show description for 5687976
annemsujan
committed
5687976
View commit details
Copy full SHA for 5687976
View code at this point
Browse repository at this point
Commits on Oct 13, 2014
New Singleton class
Show description for cffe592
annemsujan
committed
cffe592
View commit details
Copy full SHA for cffe592
View code at this point
Browse repository at this point
Commits on Oct 8, 2014
Formatted all files to the same standard
lordmat0
committed
3da9ad5
View commit details
Copy full SHA for 3da9ad5
View code at this point
Browse repository at this point
Commits on Oct 7, 2014
Just formatting App classes to be like the other class files on the project
lordmat0
committed
bde5b34
View commit details
Copy full SHA for bde5b34
View code at this point
Browse repository at this point
Commits on Sep 7, 2014
removed the lazy instantiation from singleton to avoid threading
Show description for d6aed14
yusufaytas
committed
d6aed14
View commit details
Copy full SHA for d6aed14
View code at this point
Browse repository at this point
Commits on Sep 6, 2014
Update IvoryTower.java
Show description for 3d55749
yusufaytas
committed
3d55749
View commit details
Copy full SHA for 3d55749
View code at this point
Browse repository at this point
Update IvoryTower.java
yusufaytas
committed
0509e48
View commit details
Copy full SHA for 0509e48
View code at this point
Browse repository at this point
Commits on Aug 31, 2014
Commented singleton example.
iluwatar
committed
54b414a
View commit details
Copy full SHA for 54b414a
View code at this point
Browse repository at this point
Commits on Aug 24, 2014
added singleton class diagram
iluwatar
committed
7f3c311
View commit details
Copy full SHA for 7f3c311
View code at this point
Browse repository at this point
Commits on Aug 11, 2014
added singleton sample
iluwatar
committed
7241538
View commit details
Copy full SHA for 7241538
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.