Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.94 KB

notes.md

File metadata and controls

46 lines (30 loc) · 1.94 KB

Java Notes

Quickstart

Spring Boot Demos

IntelliJ IDEA Plugins

IntelliJ IDEA 18 周岁,吐血推进珍藏已久的必装插件 : https://www.hollischuang.com/archives/3220

  • Maven Helper
  • Lombok plugin
  • google-java-format
  • String Manipulation
  • Key promoter X
  • GsonFormat

Design Pattern

用 "静态工厂方法" 替代 "构造函数" 的优点

Moving Logic Out of Constructors. If we just put this logic into the constructor, we’d be breaking the Single Responsibility Principle. We would end up with a monolithic constructor that does a lot more than initialize fields.

泛型类对象的工厂 & 使用责任链削减分支数量

readResolve

为什么有的 Java 类写了一个 readResolve() 方法?