2019年1月26日
摘要: isBlank()判断空的情况包括了isEmpty()的情况,isBlank()不仅判断了 无对象、空对象的情况,而且也判断了无意义的空白字符,比如空格等。 阅读全文
posted @ 2019-01-26 16:27 徐杰 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 定时器Timer用途:做定时器用的。public static void main(String[] args) { Timer timer = new Timer(); timer.schedule(new TimerTask() { @Override public void run() { System.out.println("... 阅读全文
posted @ 2019-01-26 00:00 徐杰 阅读(135) 评论(0) 推荐(0) 编辑