![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java se
文章平均质量分 78
mytest911
这个作者很懒,什么都没留下…
展开
-
文件复制附带进度条
package com.io.copyfile; import java.awt.BorderLayout; import java.awt.Frame; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.F...2011-05-10 09:40:03 · 249 阅读 · 0 评论 -
java得到数据库信息
// 得到当前数据库下所有的表名 public void getTableNameByCon(Connection con) { try { DatabaseMetaData meta = con.getMetaData(); ResultSet rs = meta.getTables(null, null, null, new String[] { "...原创 2012-05-04 12:45:35 · 157 阅读 · 0 评论 -
Integer.valueOf 缓存
(转)http://topmanopensource.iteye.com/blog/663414 /** * 在JDK1.5的基本类库中,对一些不可变类,如Integer类做了优化,它具有一个实例缓存,用来存放程序中经常使用的Integer实例。 * 如Integer中valueOf()方法。 * valueOf源代码如下: *...原创 2012-08-29 10:38:31 · 200 阅读 · 0 评论