Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

kmswlee/GofDesignPattern

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GofDesignPattern

Singleton pattern

인스턴스를 오직 하나만 제공하는 클래스

질문 리스트

  • 자바에서 enum을 사용하지 않고 singleton pattern을 구현하는 방법
  • private 생성자와 static 메소드를 사용하는 방법의 단점
  • enum을 사용해 singleton pattern을 구현하는 방법으 장단점
  • static inner class를 사용해 singleton pattern 구현

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.