java -13等待唤醒机制

资源类 public class Student { String name; int age; boolean flag; // 默认情况是没有数据,如果是true,说明有数据 } 生产者 public class SetThread implements Runnable { private Student s; private int x =
相关文章
相关标签/搜索