摘要:
Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your t 阅读全文
posted @ 2018-10-30 21:21
leagueandlegends
阅读(124)
评论(0)
推荐(0)
摘要:
Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: s = "leetcode" return 0. 阅读全文
posted @ 2018-10-30 21:19
leagueandlegends
阅读(150)
评论(0)
推荐(0)
摘要:
一、Spring的依赖注入(DI) 在Spring框架下,当Bean实例A运行过程中需要引用另外一个Bean实例B时,Spring框架会创建Bean的实例B,并将实例B通过实例A的构造函数、set方法、自动装配和注解方式注入到实例A,这种注入实例Bean到另外一个实例Bean的过程叫做依赖注入。 依 阅读全文
posted @ 2018-10-30 19:48
leagueandlegends
阅读(284)
评论(0)
推荐(0)
摘要:
一、使用myeclipse创建spring框架 今天我们来写我们的第一个spring 第一步 建立一个java project 第二步 添加我们的五个jar文件 第三步 在项目中建立一个com.zk.spring包 第四步 建立我们的userservice接口和userserviceImpl.jav 阅读全文
posted @ 2018-10-30 18:58
leagueandlegends
阅读(2433)
评论(0)
推荐(0)
摘要:
学习过Spring框架的人一定都会听过Spring的IoC(控制反转) 、DI(依赖注入)这两个概念,对于初学Spring的人来说,总觉得IoC 、DI这两个概念是模糊不清的,是很难理解的,今天和大家分享网上的一些技术大牛们对Spring框架的IOC的理解以及谈谈我对Spring Ioc的理解。 一 阅读全文
posted @ 2018-10-30 17:25
leagueandlegends
阅读(206)
评论(0)
推荐(0)
摘要:
struts2:web层hibernate:dao层spring:service层 一、spring框架概述 1.1 什么是springSpring是一个开源框架,Spring是于2003 年兴起的一个轻量级的Java 开发框架,由Rod Johnson 在其著作Expert One-On-One 阅读全文
posted @ 2018-10-30 17:23
leagueandlegends
阅读(159)
评论(0)
推荐(0)

浙公网安备 33010602011771号