Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这个单例模式中的循环是必须的吗? #72

Open
Shrimp-Pineapple opened this issue Sep 15, 2022 · 0 comments
Open

这个单例模式中的循环是必须的吗? #72

Shrimp-Pineapple opened this issue Sep 15, 2022 · 0 comments

Comments

@Shrimp-Pineapple
Copy link

单例模式中的第6种写法
itstack-demo-design-5-00\src\main\java\org\itstack\demo\design\Singleton_06.java

其中getInstance()方法内的循环有必要吗?

@Shrimp-Pineapple Shrimp-Pineapple changed the title 这个单例的循环是必须的吗? 这个单例模式中的循环是必须的吗? Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant