摘要: sleep():sleep()使当前线程进入停滞状态(阻塞当前线程),让出CUP的使用、目的是不让当前线程独自霸占该进程所获的CPU资源,以留一定时间给其他线程执行的机会;sleep()是Thread类的Static(静态)的方法;因此他不能改变对象的机锁,所以当在一... 阅读全文
posted @ 2017-04-06 23:09 john8169 阅读(230) 评论(0) 推荐(0) 编辑
摘要: Assuming you're joining on columns with no duplicates, which is a very common case:An inner join of A and B gives the result of A inte... 阅读全文
posted @ 2017-04-06 23:01 john8169 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 1.demo public class SimpleAIOServer { static final int PORT = 30000; public static void main(String[] args) throws Exception { // ①创... 阅读全文
posted @ 2017-04-06 22:24 john8169 阅读(549) 评论(0) 推荐(0) 编辑