随笔分类 - Java
摘要:@Test public void shellSort() { int[] array = {7, 3, 2, 9, 15, 1, 14}; for (int increment = array.length / 2; increment 0; increment /= 2) { for (int
阅读全文
摘要:@Test public void insertSort() { int[] array = {7, 3, 2, 9, 15, 1, 14}; for (int i = 1; i 0; j ) { if (array[j]
阅读全文
摘要:public class Demo { public static void main(String[] args) { int[] array = {7, 3, 2, 9, 15, 1, 14}; int temp = 0; for(int i = 0; i
阅读全文
摘要:/** * Created by IntelliJ IDEA. * Author: 付石强. * Date: 2017/8/25. * Time: 下午8:42. * {2,9,1,4,10,18} 将数组降序输出 */public class Array { public static void
阅读全文
摘要:在jdk7的新特性方面主要有一下几方面的增强 本文是我学习了解了jdk7和jdk8的一些新特性的一些资料,有兴趣的大家可以浏览下下面的内容。 "官方文档" 在jdk7的新特性方面主要有下面几方面的增强: 1. jdk1.7语法上 1.1 二进制变量的表示,支持将整数类型用二进制来表示,以0b开头。
阅读全文

浙公网安备 33010602011771号