摘要:
public class IteratorTest { public static void main(String[] args) { test(); } public static void test() { final Function> function = new Function>() { @Over... 阅读全文
摘要:
#(前言) 最近在做一些东西的时候,时常需要使用多线程来提升一下性能,但是在使用线程池的时候会发现无法捕获其中线程的异常,这个该如何处理呢,talk is chep show me the code #(单线程情况) 对于单线程来说,只需要重写UncaughtException就好了,如下: 运行程 阅读全文