摘要:
public class Student { public Student(){ } protected Builder builder(){ return new Builder(); } public class Builder{ private String name; private Str 阅读全文
posted @ 2017-12-25 15:38
爷的眼睛闪亮
阅读(380)
评论(0)
推荐(0)
摘要:
什么是链式接口(Fluent Interface) 根据wikipedia上的定义,Fluent interface是一种通过链式调用方法来完成方法的调用,其操作分为终结与中间操作两种。[1] 下面是一个Wikipedia上的例子。 在设置多参数时,通过这种方式简化操作,提高可读性。在effecti 阅读全文
posted @ 2017-12-25 15:31
爷的眼睛闪亮
阅读(1095)
评论(0)
推荐(0)
摘要:
使用的test包的版本号要与spring的一致,避免jar包依赖冲突 直接用注解 阅读全文
posted @ 2017-12-25 11:51
爷的眼睛闪亮
阅读(11550)
评论(0)
推荐(2)
浙公网安备 33010602011771号