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

Java java.lang.Object#wait #16

Open
kezhenxu94 opened this issue Jan 19, 2020 · 0 comments
Open

Java java.lang.Object#wait #16

kezhenxu94 opened this issue Jan 19, 2020 · 0 comments

Comments

@kezhenxu94
Copy link
Owner

https://kezhenxu94.github.io/2018/04/11/Java-java-lang-Object-wait/

Why java.lang.Object从 wait 方法的完整方法签名可以看出, wait 方法是定义在 java.lang.Object 类中的方法; 众所周知, 在 Java 中 Object 类是所有类的父类, 要了解 Java 类库的设计者把 wait 方法定义在这样一个超级父类中的原因, 就先要了解 等待集合 (Wait Sets) 的概念; Wait Sets在 Java 中, 所有

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant