自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 Mybatis编写接口需要遵循的规范

1.mapper.xml中的namespace需要等于mapper接口地址。 2.mapper.java接口中的方法名称和mapper.xml中id一样。 3.mapper.java接口中的输入类型和mapper.xml中的parameterType一致。 4.mapper.java接口中的输出类型和mapper.xml中的resultType一致。

2016-07-17 12:06:52 777

原创 基于配置的springmvc流程分析

当用户发起请求时,根据web.xml配置,映射到DispatcherServlet, springmvc org.springframework.web.servlet.DispatcherServlet contextConfigLocation classpath:spring-mvc.xml 1 s

2016-07-09 14:21:58 242

原创 获取spring的ApplicationContext几种方式

常用的5种获取spring 中bean的方式总结:方法一:在初始化时保存ApplicationContext对象 代码: ApplicationContext ac = new FileSystemXmlApplicationContext(“applicationContext.xml”); ac.getBean(“beanId”); 说明:这种方式适用于采用Spring框架的独立应用程序

2016-05-29 09:41:57 397

原创 一些小知识点的累积

使用Integer a = 1;或Integer a = Integer.valueOf(1); 在值介于-128至127直接时,作为基本类型。 使用Integer a = new Integer(1); 时,无论值是多少,都作为对象。

2016-01-29 16:22:55 251

原创 数据结构之循环数组实现队列

循环数组实现队列主要的问题是在如何正确的表示下一个元素,本人是参考书本使用取余的方式来获取下一个元素。

2015-09-17 07:50:02 342

原创 数据结构之链表实现

#include #include #include typedef struct node{ int data; struct node * pNext; } * pNode,Node; pNode init(); bool append(pNode pHead,int data); void show(pNode pHead); int length(pNode pHead); boo

2015-09-07 23:39:22 310

空空如也

空空如也

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

TA关注的人

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