上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 23 下一页
摘要: package match; public class TestOne { public static void main(String[] args) { //2015-10-19 08:00:00.0 /*if ("0800000".matches("[0-9]{4,}") == false) { System.out.p... 阅读全文
posted @ 2018-02-24 17:47 aLa神灯 阅读(130) 评论(0) 推荐(0) 编辑
摘要: package thread.synchronization; import java.util.Arrays; public class Bank { private final double[] accounts; public Bank(int n,double initialBalance){ accounts = new double[n... 阅读全文
posted @ 2018-02-13 10:55 aLa神灯 阅读(129) 评论(0) 推荐(0) 编辑
摘要: package thread; public class TestThree { /** * 线程属性: * 线程优先级,守护线程,线程组,未捕获异常的处理器 * * * 线程优先级 * public static final int MIN_PRIORITY = 1; //最小优先级 * public sta... 阅读全文
posted @ 2018-02-12 18:02 aLa神灯 阅读(78) 评论(0) 推荐(0) 编辑
摘要: package thread; public class TestOne { public static void main(String[] args) { // TODO Auto-generated method stub method(); } /** * 一个任务被称为一个线程,同时运行一个以上的任务被称... 阅读全文
posted @ 2018-02-12 10:05 aLa神灯 阅读(100) 评论(0) 推荐(0) 编辑
摘要: package thread; import java.awt.BorderLayout; import java.awt.Container; import java.awt.EventQueue; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; imp... 阅读全文
posted @ 2018-02-12 10:04 aLa神灯 阅读(97) 评论(0) 推荐(0) 编辑
摘要: /** * window.location.hostname 不带端口号 * window.location.host 带 */ 阅读全文
posted @ 2018-02-11 13:27 aLa神灯 阅读(1465) 评论(0) 推荐(0) 编辑
摘要: package generic; public class PairG { T first; T second; public T getFirst() { return first; } public void setFirst(T first) { this.first = first; } publ... 阅读全文
posted @ 2018-02-09 19:08 aLa神灯 阅读(125) 评论(0) 推荐(0) 编辑
摘要: /** * 1.在服务器上建立一个文件夹 * 2.在eclipse上拷贝.project除外的所有的文件 * 3.提交代码 */ 阅读全文
posted @ 2018-02-09 17:09 aLa神灯 阅读(1093) 评论(0) 推荐(0) 编辑
摘要: package gather; import java.util.ArrayList; import java.util.Collections; public class CollecSortTest { public static void main(String[] args) { // System.out.println... 阅读全文
posted @ 2018-02-09 15:20 aLa神灯 阅读(103) 评论(0) 推荐(0) 编辑
摘要: int x = 0,y =0; /*if (x==0 && ++y == 8) { }*/ /*if (x==1 && ++y == 8) { }*/ /*if (x==0 || ++y == 8) { }*/ ... 阅读全文
posted @ 2018-02-08 10:54 aLa神灯 阅读(102) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 23 下一页