随笔分类 -  Java相关

摘要:purpose:masure the time used with a strcut method: duration=endTime-startTime; realization: 1.startTime 2.do the work needs to measure ... 3.duration 阅读全文
posted @ 2017-07-10 09:20 空山皓月 阅读(254) 评论(0) 推荐(0)
摘要:package MySQLExercise;import java.io.BufferedReader;import java.io.InputStreamReader;import java.sql.Connection;import java.sql.DriverManager;import j 阅读全文
posted @ 2017-03-06 07:51 空山皓月 阅读(164) 评论(0) 推荐(0)
摘要:package MySQLExercise;import java.io.BufferedReader;import java.io.InputStreamReader;import java.sql.Connection;import java.sql.DriverManager;import j 阅读全文
posted @ 2017-03-06 07:50 空山皓月 阅读(228) 评论(0) 推荐(0)
摘要:相关内容: 1.Math类 2.BigDecimal类 函数实现: 阅读全文
posted @ 2017-02-21 11:04 空山皓月 阅读(141) 评论(0) 推荐(0)
摘要:相关内容: 1.Timer:定时器 2.StdDraw绘图工具 3.动态显示 代码实现: 阅读全文
posted @ 2017-02-21 09:25 空山皓月 阅读(1438) 评论(0) 推荐(0)
摘要:简单事件触发终止: 1.Timer设置为main函数外变量; 2.外部事件设置,此处采用counter; 3.事件触发,Timer终止。 程序: 阅读全文
posted @ 2017-02-21 08:53 空山皓月 阅读(745) 评论(0) 推荐(0)