自定义博客皮肤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)
  • 收藏
  • 关注

原创 读取properties配置文件

public class PropertiesValue { public static String getValue(String filePath, String key){          Properties props = new Properties();          try          {                          InputStr...

2018-07-27 14:30:55 119

原创 单例模式

public class Singleton { //懒汉式//静态变量在内存中只有一份private static Singleton singleton;//私有化构造方法 ,将别的类创建对象的权利收回private Singleton() {}//利用本类的static方法内创建对象public static Singleton method() {//利用静态变量的唯一性,记录实例对象的

2017-10-18 15:46:22 101

原创 StringBuffer

添加   append 删除    delete 翻转    reverse 插入    insert 支持链式编程 public static void main(String[] args) {         StringBuffer buffer = new StringBuffer("abc");         System.out.println(buffer);

2017-10-17 13:59:07 122

空空如也

空空如也

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

TA关注的人

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