It would be nice if thread safety were a binary attribute of a class, and you could just document whether the class is thread-safe or not.

 
  • 如果线程安全性是类的一个二元属性就好了,您只需要记录类是线程安全还是线程不安全的。
今日热词
目录 附录 查词历史