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.
这是两者的javadoc:
get() 支持可中断和/或定时等待完成并使用 Future 约定报告结果。方法invoke()在语义上等价于fork();join() 但总是尝试在当前线程中开始执行。