摘要:        
public class Test { public static void main(String[] args) { User u1 = new User(1, "a", 21); User u2 = new User(2, "b", 22); User u3 = new User(3, "c"    阅读全文
posted @ 2022-04-19 21:40
不写代码想写诗的虫子
阅读(166)
评论(0)
推荐(0)
        
            
        
        
摘要:        
函数型接口 源码分析 @FunctionalInterface public interface Function<T, R> { /** * Applies this function to the given argument. * * @param t the function argumen    阅读全文
posted @ 2022-04-19 21:38
不写代码想写诗的虫子
阅读(38)
评论(0)
推荐(0)
        
            
        
        
摘要:        
三大方法 // Executors 工具类: 3大方法 // 使用了线程池之后,使用线程池来创建线程 public class Demo01 { public static void main(String[] args) { ExecutorService threadPool = Executo    阅读全文
posted @ 2022-04-19 21:34
不写代码想写诗的虫子
阅读(22)
评论(0)
推荐(0)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号