摘要: 1 package day162020072701.day1603; 2 3 import java.util.concurrent.locks.Lock; 4 import java.util.concurrent.locks.ReentrantLock; 5 6 /** 7 * @author  阅读全文
posted @ 2020-07-27 19:00 勤快的懒羊羊 阅读(641) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * @author liuwenlong 3 * @create 2020-07-24 15:00:39 4 */ 5 @SuppressWarnings("all") 6 public class TestRunTime { 7 public static String exeCm 阅读全文
posted @ 2020-07-27 18:34 勤快的懒羊羊 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>MyWeb</title> 6 <link href="css/index.css" rel="stylesheet"> 7 <script 阅读全文
posted @ 2020-07-27 18:28 勤快的懒羊羊 阅读(3824) 评论(1) 推荐(0) 编辑
摘要: 1 public class Thread_A extends Thread { 2 Human human; 3 4 public Thread_A(String name, Human human) { 5 super(name); 6 this.human = human; 7 } 8 9 @ 阅读全文
posted @ 2020-07-27 18:23 勤快的懒羊羊 阅读(557) 评论(0) 推荐(0) 编辑
摘要: 1 package day162020072701.day1601; 2 3 /** 4 * @author liuwenlong 5 * @create 2020-07-27 09:25:44 6 */ 7 @SuppressWarnings("all") 8 public class Human 阅读全文
posted @ 2020-07-27 13:04 勤快的懒羊羊 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 执行ipconfig /all获取主机所有网卡信息并分析这些字符串,提取出有效网卡(网卡名称,mac地址,ipv4地址,掩码,网关,dns)将网卡插入HashMap中,key是网卡的名称,value是网卡对象(包含mac和4个逻辑地址)请输入网卡的名称,程序通过map的get方法取出此名称对应的网卡 阅读全文
posted @ 2020-07-27 00:01 勤快的懒羊羊 阅读(732) 评论(0) 推荐(0) 编辑