Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于线程 t,在 Java 1.5 中我们可以调用:
t.getState()
得到它的状态。我如何在 Java 1.4 中做到这一点?