Overblog Tous les blogs Top blogs Technologie & Science Tous les blogs Technologie & Science
Suivre ce blog Administration + Créer mon blog
MENU

Spring 基础

17 Août 2013 Publié dans #spring, #java

首先Spring提供的功能有: Inversion of control (IOC): Loose coupling is achieved in spring using the technique Inversion of Control. The objects give their dependencies instead of creating or looking for dependent objects. Aspect oriented (AOP): Spring supports...

Lire la suite
Publicité

java 中Collection/Map 的比较

1 Août 2013 Publié dans #java

首先java中各种collection或者Map类层次关系如下: Collection ├List │├LinkedList │├ArrayList │└Vector │ └Stack └Set Map ├Hashtable ├HashMap └WeakHashMap ​ 1. Collection接口 Collection是最基本的集合接口,声明了适用于JAVA集合(只包括Set和List)的通用方法。 Set 和List 都继承了Conllection,Map。 1.1Collection接口的方法:...

Lire la suite