自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

嵇康的专栏

从sina博客迁移到此

  • 博客(8)
  • 资源 (9)
  • 收藏
  • 关注

原创 2015圣诞总结

这个寒假,学习了浙大的数据结构,感觉到后面有点吃力:二叉树还可以,到了图就不行了,深度搜索,广度搜索,看得懂,但是写不出,看来还得多练啊。    未来时间,尽快完善的数据结构知识如下:   1.二叉树的非递归遍历    2.DFS,BFS    3.多做PAT的题目,即使不会做,也要先看懂,然后模仿。   对于专业,把基础理论掌握先:   1. ray tr

2015-01-29 04:53:00 494

原创 数据结构之排序

1 冒泡排序 void swap(int *a, int *b) {int tmp=*a; *a=*b; *b=tmp; } void BubbleSort(int data[],int cnt) {int i=0,j=0; for(i=(cnt-1);i>0;i--) {for(j=0;jif(data[j]>data[j+1]){

2015-01-28 07:03:41 419

原创 数据结构之AVLTree(04-1:Root of AVL Tree)

// Root_of_AVL_Tree.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #define MAX 50int length=0;typedef  struct  node{i

2015-01-28 06:03:23 731

原创 数据结构之队列

typedef struct queue{        int queuesize;   //数组的大小        int head, tail;  //队列的头和尾下标        int *q;          //数组头指针}Queue;void InitQueue(Queue *q){        q->queuesize = 8;

2015-01-28 05:34:18 369

原创 Android之Adapter的用法

1.AdapterBase文件,继承 BaseAdapter ,为的是添加setlist方法public abstract class AdapterBase extends BaseAdapter {private List mList;private Context mContext;private LayoutInflater mLayoutInflater;

2015-01-17 03:20:47 464

原创 结合spring对dao层的总结

在dao层上还可以包含一层,比如叫business,但是比dao更复杂点,一般一个dao类只对一个表操作,但是business可能会同时操作几个dao,这里不介绍。        dao也叫业务逻辑层,里面包含了对数据库的操作,所以就涉及到事务操作。 结合了JPA后,dao层就显得简单了,比如Userdao设计如下:          先定义一个接口dao,然后DaoSupport

2015-01-11 09:04:45 9836

原创 对spring的访问路径以及配置的一些理解(区分spring的IOC与springMVC的IOC)

几个注解的区别:1 @WebServlet(urlPatterns="/android/login")  //相当于web.xml里写servlet-mappingpublic class LoginServlet extends BaseServlet{}2.@Controller("/android/login")                //SPRING的注解,

2015-01-11 08:10:22 8229

原创 前缀表达式求值

思路:这里实际是把前缀表达式逆序输出转化为类似后序表达式求值:比如:输入:+ + 2 * 3 - 7 4 / 8 4 处理成 4 8 / 4 7 - 3 * 2 + + 链表,放到后缀表达式求值程序 postFixEval计算得13.0#include #include #include #include

2015-01-01 04:30:27 4007

2013_uboot_aston.txt

x210的uboot2013.10补丁, 由diff -urN u-boot-2013.10 u-boot-2013.10_aston >2013_uboot_aston.txt 生成

2020-05-24

对象计数问题

c++的对象计数问题的多线程实现代码 c++的对象计数问题的多线程实现代码 c++的对象计数问题的多线程实现代码

2012-10-10

uboot_116-linux2.6.32.7z

最新的我的友善之臂膀arms3c410版的文件 编译器arm-linux-gcc4.3.2 目录:/home/jimmy/usr/local/arm/4.3.2/bin/arm-linux-gcc uboot_1.1.6 目录: /home/jimmy/uboot_1.1.6 linux2.6.32.2(地址:http://arm9download.cncncn.com/mini2440/linux/linux-2.6.32.2-mini2440-20110413.tar.gz) 目录: /usr/src/linux_2.6.32.2

2012-09-11

jdbc——内嵌事务

jdbc——内嵌事务 <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"> <property name="dataSource" ref="dataSource"></property> </bean> <bean id="departmentDao" class="my.aop.dao.DepartmentDaoJdbcImpl" scope="prototype"> <property name="dataSource" ref="dataSource"></property> </bean> <bean id="userDao" class="my.aop.dao.UserDaoJdbcImpl" scope="singleton"> <property name="dataSource" ref="dataSource"></property> </bean> <bean id="myService" class="my.aop.dao.MyService"> <property name="departmentDao"> <ref bean="departmentDao" /> </property> <property name="userDao"> <ref bean="userDao" /> </property> </bean> <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> &lt;!-- org.apache.commons.dbcp.BasicDataSource class=" --&gt; &lt;property name="url" value="jdbc:oracle:thin:@10.80.1.171:1521:CBS3001"></property> <property name="maxActive" value="4"></property> <property name="username" value="cone3590_dev"></property> <property name="password" value="arbor123"></property> <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"></property> <property name="defaultAutoCommit"> <value>false</value> </property> </bean> <bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate"> <property name="dataSource" ref="dataSource"/> </bean> </beans>

2012-03-13

linux_0.11_bochs

gcc4编译的内核 bochs2.1.1 Image为内核 rootimage-0.11为文件系统软盘 当然可以搞个虚拟硬盘的文件系统hdc.img,太大的,没上传(同时要改Iamge的509,510字节为0103)

2012-02-23

java数据结构

java data structrue: public interface BinaryTreeInterface<T> { public T getRootData(); public int getHeight(); public int getNumberOfRoot(); public void clear(); public void setTree(T rootData); public void setTree(T rootData,BinaryTreeInterface<T> left,BinaryTreeInterface<T> right); }

2011-12-31

jbpm4.4请假流程

<?xml version="1.0" encoding="UTF-8"?> <process name="leave" xmlns="http://jbpm.org/4.3/jpdl"> <start g="196,25,48,48" name="start1"> <transition to="申请"/> </start> <task form="qhrequest.jsp" g="172,118,92,52" name="申请" candidate-groups="#{dev}"> //*****candidate-groups="#{dev}" 采用JBPM用户组进行处理任务 //*****assignee="manager" 采用指定manager用户进行处理任务 <transition to="经理审批"/> </task> <task assignee="manager" form="qhmanager.jsp" g="175,217,92,52" name="经理审批"> <transition g="-32,-8" name="批准" to="exclusive1"/> <transition g="128,221;124,165:-42,-18" name="驳回" to="申请"/> </task> <decision expr="#{day > 3 ? '老板审批' : '结束'}" g="200,308,48,48" name="exclusive1"> <transition g="-39,-10" name="结束" to="end1"/> <transition g="339,342:-71,-17" name="老板审批" to="老板审批"/> </decision> <task assignee="boss" form="qhboss.jsp" g="294,375,92,52" name="老板审批"> <transition g="339,457:" to="end1"/> </task> <end g="199,445,48,48" name="end1"/> </process>

2011-12-09

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

TA关注的人

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