jdk.tools:jdk.tools是与JDK一起分发的一个JAR文件,可以如下方式加入到Maven项目中: <dependency> ??? <groupId>jdk.tools</groupId> ??? <artifactId>jdk.tools</artifactId> ??? <version>1.7</vers...
分类:
其他好文 时间:
2014-10-16 18:10:33
阅读次数:
258
sudo apt-get –purge remove firefox ,提示Reading package lists… DoneBuilding dependency treeReading state information… DoneThe following packages will be...
分类:
其他好文 时间:
2014-10-15 13:01:08
阅读次数:
161
学习《设计模式》好长时间了,可是到现在还是分不太清楚几种UML中的几种关系。如果这几种关系理解的不是很透彻的话,那么会直接影响到对类图之间关系的理解,下面就来分析下几种关系吧!
类之间的关系
Dependency(依赖)、Relization(实现)、Generalization(泛化)
Association(关联)、Aggregation...
分类:
其他好文 时间:
2014-10-14 11:59:08
阅读次数:
225
UML中描述对象和类之间相互关系的方式包括:依赖(Dependency),关联(Association),聚合(Aggregation),组合(Composition),泛化(Generalization),实现(Realization)等。依赖(Dependency):元素A的变化会影响元素B,但反之不成立,那么B和A的关系是依赖关系,B..
分类:
其他好文 时间:
2014-10-13 03:37:09
阅读次数:
169
面向对象设计的SOLID原则
SRP The Single Responsibility Principle 单一责任原则
OCP The Open Closed Principle 开放封闭原则
LSP The Liskov Substitution Principle 里氏替换原则
DIP The Dependency Inversion Principle 依赖倒置原则
ISP...
分类:
其他好文 时间:
2014-10-12 11:50:17
阅读次数:
250
第一步:引入依赖的jar包<!--jersey--><dependency><groupId>com.sun.jersey</groupId><artifactId>jersey-client</artifactId><version>${jersey.version}</version></dependency><dependency><groupId>co..
分类:
编程语言 时间:
2014-10-11 16:05:46
阅读次数:
183
第一步:pom.xml配置,导入需要的jar包<!--log4j日志文件管理包版本--><slf4j.version>1.6.6</slf4j.version><log4j.version>1.2.9</log4j.version><!--日志文件管理包--><dependency><groupId>log4j</groupId><arti..
分类:
编程语言 时间:
2014-10-10 21:33:14
阅读次数:
476
<dependency><groupId>org.springframework</groupId><artifactId>spring-webmvc</artifactId><version>2.5.6</version><exclusions><exclusion><groupId>org.springframework</groupId><artifactId>..
分类:
其他好文 时间:
2014-10-10 15:26:34
阅读次数:
23664
Source:http://www.samdmarshall.com/blog/blocking_code_injection_on_ios_and_os_x.htmlYesterday I posted (twitter) a set of linker flags that can be set...
分类:
移动开发 时间:
2014-10-09 15:26:23
阅读次数:
239
MyElicpse开发maven项目,在pom.xml配置的jar经常出现导入不全的现象,这种时候就需要使用命令行来导入缺失的jar包在DOS窗口下(CMD)进入项目的根目录(即 pom.xml文件所在的目录)执行:mvn dependency:copy-dependencies完成后重新打开MyE...
分类:
其他好文 时间:
2014-10-09 14:47:23
阅读次数:
175