上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 42 下一页
摘要: package com.cn.gao; //堆排序程序设计 public class HeapSort { public static final int SIZE=10; //堆排序算法 public static void heapSort(int[] a, int n){ int i,j,temp,k; //建大根堆过程 ... 阅读全文
posted @ 2015-05-06 12:16 ~风轻云淡~ 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 1. 以首元素作为分界值package com.cn.gao;public class QuickSort { public static final int SIZE=10; //快速排序的一次划分 public static int partition(int[] a,int ... 阅读全文
posted @ 2015-05-05 21:14 ~风轻云淡~ 阅读(216) 评论(0) 推荐(0) 编辑
摘要: package com.cn.gao;public class ShellSort { public static final int SIZE=10; //希尔排序算法 public static void shellSort(int[] a){ int d,i,j... 阅读全文
posted @ 2015-05-05 20:35 ~风轻云淡~ 阅读(216) 评论(0) 推荐(0) 编辑
摘要: package com.cn.gao;//插入排序public class InsertionSort { public static final int SIZE=10; //插入排序算法 public static void insertionSort(int[] a){ ... 阅读全文
posted @ 2015-05-05 19:26 ~风轻云淡~ 阅读(232) 评论(0) 推荐(0) 编辑
摘要: package com.cn.gao;//选择排序public class SelectSort { public static final int SIZE = 10; //选择排序算法 public static void selectSort(int[] a){ ... 阅读全文
posted @ 2015-05-05 19:25 ~风轻云淡~ 阅读(335) 评论(0) 推荐(0) 编辑
摘要: package com.cn.gao;//冒泡排序public class BubbleSort { public static final int SIZE=10; //冒泡排序算法 public static void bubbleSort(int[] a){ i... 阅读全文
posted @ 2015-05-05 19:22 ~风轻云淡~ 阅读(1580) 评论(0) 推荐(0) 编辑
摘要: 在Spring中利用DAO模式向tb_user表中添加数据、事务应用的管理(编程式事务管理,声明式事务管理) 阅读全文
posted @ 2015-05-05 14:56 ~风轻云淡~ 阅读(3221) 评论(0) 推荐(0) 编辑
摘要: Setter注入、构造器注入、引用其他的bean、Bean的基本用法 阅读全文
posted @ 2015-05-03 13:13 ~风轻云淡~ 阅读(1718) 评论(1) 推荐(0) 编辑
摘要: HQL(Hibernate Query Language)查询语言是完全面向对象的查询语言,它提供了更加面向对象的封装,它可以理解如多态、继承和关联的概念。HQL看上去和SQL语句相似,但它却提供了更加强大的查询功能。1. 了解HQL语言HQL语句与SQL语句是相似的,其基本的使用习惯也与SQL相同... 阅读全文
posted @ 2015-05-02 16:12 ~风轻云淡~ 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 原文链接地址:http://lavasoft.blog.51cto.com/62575/39398/Hibernate:Hibernate关联关系映射实例速查Hibernate关联关系映射目录│├─单向关联│ ├─一对一外键单向关联│ ├─一对一主键单向关联│ ├─一对一连接表单向关联│ ├─一对多... 阅读全文
posted @ 2015-05-02 15:27 ~风轻云淡~ 阅读(467) 评论(0) 推荐(0) 编辑
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 42 下一页