Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
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
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
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 }}
smalltao
/
design_patterns
Public
forked from
me115/design_patterns
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
Expand file tree
master
Breadcrumbs
design_patterns
/
_static
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
design_patterns
/
_static
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
AbatractFactory.jpg
AbatractFactory.jpg
AbatractFactory_run.jpg
AbatractFactory_run.jpg
Adapter.jpg
Adapter.jpg
Adapter_classModel.jpg
Adapter_classModel.jpg
Adapter_run.jpg
Adapter_run.jpg
Bridge.jpg
Bridge.jpg
Bridge_eg.jpg
Bridge_eg.jpg
Bridge_run.jpg
Bridge_run.jpg
Builder.jpg
Builder.jpg
Builder_run.jpg
Builder_run.jpg
Command.jpg
Command.jpg
Command_eg.jpg
Command_eg.jpg
Command_run.jpg
Command_run.jpg
Decorator.jpg
Decorator.jpg
Decorator_eg.jpg
Decorator_eg.jpg
Decorator_run.jpg
Decorator_run.jpg
Facade.jpg
Facade.jpg
Facade_run.jpg
Facade_run.jpg
FactoryMethod.jpg
FactoryMethod.jpg
Flyweight.jpg
Flyweight.jpg
Flyweight_run.jpg
Flyweight_run.jpg
KFCBuilder.jpg
KFCBuilder.jpg
Mediator.jpg
Mediator.jpg
Mediator_eg.jpg
Mediator_eg.jpg
Mediator_run.jpg
Mediator_run.jpg
Obeserver.jpg
Obeserver.jpg
Obeserver_run.jpg
Obeserver_run.jpg
Proactor.jpg
Proactor.jpg
Proxy.jpg
Proxy.jpg
Proxy_run.jpg
Proxy_run.jpg
Reactor.jpg
Reactor.jpg
SimpleFactory.jpg
SimpleFactory.jpg
Singleton.jpg
Singleton.jpg
Singleton_run.jpg
Singleton_run.jpg
State.jpg
State.jpg
State_eg.jpg
State_eg.jpg
State_run.jpg
State_run.jpg
Strategy.jpg
Strategy.jpg
Strategy_run.jpg
Strategy_run.jpg
SystemFactory.jpg
SystemFactory.jpg
dp_relation.jpg
dp_relation.jpg
loger.jpg
loger.jpg
seq_AbatractFactory.jpg
seq_AbatractFactory.jpg
seq_Adapter.jpg
seq_Adapter.jpg
seq_Bridge.jpg
seq_Bridge.jpg
seq_Builder.jpg
seq_Builder.jpg
seq_Command.jpg
seq_Command.jpg
seq_Command_eg.jpg
seq_Command_eg.jpg
seq_Decorator.jpg
seq_Decorator.jpg
seq_Decorator_eg.jpg
seq_Decorator_eg.jpg
seq_Facade.jpg
seq_Facade.jpg
seq_FactoryMethod.jpg
seq_FactoryMethod.jpg
seq_Flyweight.jpg
seq_Flyweight.jpg
seq_Mediator.jpg
seq_Mediator.jpg
seq_Mediator_eg.jpg
seq_Mediator_eg.jpg
seq_Obeserver.jpg
seq_Obeserver.jpg
seq_Proactor.jpg
seq_Proactor.jpg
seq_Proxy.jpg
seq_Proxy.jpg
seq_Reactor.jpg
seq_Reactor.jpg
seq_SimpleFactory.jpg
seq_SimpleFactory.jpg
seq_Singleton.jpg
seq_Singleton.jpg
seq_State.jpg
seq_State.jpg
seq_State_eg.jpg
seq_State_eg.jpg
seq_Strategy.jpg
seq_Strategy.jpg
seq_loger.jpg
seq_loger.jpg
state1.png
state1.png
state2.png
state2.png
uml_AbatractClass.jpg
uml_AbatractClass.jpg
uml_aggregation.jpg
uml_aggregation.jpg
uml_association.jpg
uml_association.jpg
uml_class_struct.jpg
uml_class_struct.jpg
uml_composition.jpg
uml_composition.jpg
uml_dependency.jpg
uml_dependency.jpg
uml_generalization.jpg
uml_generalization.jpg
uml_generalize.jpg
uml_generalize.jpg
uml_realize.jpg
uml_realize.jpg
View all files
You can’t perform that action at this time.