![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java设计模式
JackSparrowlj
一只想成为大神,又很懒惰的菜鸡
展开
-
Java中的设计模式的举例
模式可以分为三大类:创建型模式(Creational Patterns)、结构型模式(Structural Patterns)、行为型模式(Behavioral Patterns)。还有另一类设计模式:J2EE 设计模式。1,工厂模式 动物接口public interface Animal { void eat();}猫类public class Cat imp原创 2018-01-05 16:53:23 · 423 阅读 · 0 评论 -
springboot+thymeleaf
1.pom.xml配置<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> <version...原创 2018-03-14 16:16:13 · 317 阅读 · 0 评论