自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

坚韧的小白杨

坚韧的小白杨

  • 博客(5)
  • 收藏
  • 关注

原创 java8 时间类

时间类java8 package day20; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; public class Time { public static void main(String[] args) { // TODO Auto-generated method stub

2017-08-12 20:00:57 342

原创 Properties类的应用

public class ListTest { @Test public void test3() throws IOException{ Properties properties = new Properties(); // 这个方法会自动处理文件, 把文件中的内容全部加载到map集合中 properties.load(new FileInputStream("test.pro

2017-08-12 19:59:20 343 2

原创 java 求最长子串

@Test public void work3()  throws Exception { //3 获取两个字符串中最大相同子串。比如: //   提示:将短的那个串进行长度依次递减的子串与较长的串比较。 String str1 = "abcwerthelloyuiodef"; String str2 = "cvhellobnm"; int maxLength = str2.len

2017-08-12 19:51:18 529

原创 排序

class Sort2 { //快速排序 public static void quick(int[] arr, int beginIndex, int endIndex) { if (beginIndex >= endIndex) { return; } int keyValue = arr[beginIndex];// 以beginIndex位置的值为键值

2017-08-12 19:49:56 220

原创 Java泛型应用

package myday22; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import org.junit.Test; public class Te

2017-08-12 19:44:49 191

空空如也

空空如也

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

TA关注的人

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