自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 DecimalFormat的用法介绍

import java.text.*;import java.util.*;public class DecimalFormatSample { public static void main(String args[]) {  DecimalFormat myformat1 = new DecimalFormat("###,###.0000");//使用系统默认的格式  System.out

2004-04-13 14:27:00 2583

原创 利用java类Numberformat格式化数据

//use Number Format 格式化数据import java.text.*;import java.util.*;public class IntegerSample { public static void  main(String args[]) {  int amount = 54321;  NumberFormat myformat = NumberFormat.getIn

2004-04-13 14:13:00 1277

原创 Java设计模式

1:单实例类public class ConnectionPool { //only one instance is needed private static ConnectionPool instance; private ConnectionPool() {  System.out.println("Createing the single instance of connection

2004-04-06 15:21:00 685

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除